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

Merge branch 'test_fail_resolve' into 'main'

Update SiteGenTest.java

See merge request !1
parents 6aef7706 27689d77
No related branches found
No related tags found
1 merge request!1Update SiteGenTest.java
Pipeline #45208 passed
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
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);
} }
} }
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment