Skip to content
Snippets Groups Projects
Commit 41c987b3 authored by Zoran Ðuric's avatar Zoran Ðuric
Browse files

Upload New File

parent 4bd73156
Branches
No related tags found
No related merge requests found
Pipeline #65361 failed
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class SiteGenTest {
@Test
public void testHtmlString() {
String correctHtml = "<html><head><title>My favorite movies</title></head><body><h1>My favorite movies</h1><ul><li>Star Wars</li><li>Star Trek</li><li>Battlestar Galactica</li></ul></body></html>";
Assertions.assertEquals(correctHtml, SiteGen.htmlString);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment