TMP
authorKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 11:56:12 +0000 (12:56 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 11:56:12 +0000 (12:56 +0100)
src/test/java/de/juplo/demo/DemoApplicationIT.java

index 92830b8..73105b2 100644 (file)
@@ -36,7 +36,7 @@ class DemoApplicationIT extends IntegrationTestBase
         .exchange()
         .expectStatus().isOk()
         .expectHeader().contentType(MediaType.TEXT_HTML)
-        .expectBody().xpath("/html/body/main/div/div/pre", "Hello World!\n");
+        .expectBody().xpath("/html/body/main/div/div", "pre", "Hello World!");
   }
 
   @Configuration