Skip to content
Snippets Groups Projects
Commit 27689d77 authored by Aleksi Saarinen's avatar Aleksi Saarinen
Browse files

Update SiteGenTest.java

parent b549c06b
No related branches found
No related tags found
Loading
Checking pipeline status
public class SiteGenTest { public class SiteGenTest {
@Test
public void testHtmlString() { 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>"; 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