contains()-check fails
Zasch opened this issue · 1 comments
Zasch commented
In ChallengeTest.java there is an assertion
Assertions.assertTrue(document.text().contains("Location: C:\\users\\Documents"));
which fails. If you modify the assertion like so:
Assertions.assertTrue(document.text().contains("Location: C:\\"));
the test will pass. If you put one more character behind \\
it stops working (e.g. Assertions.assertTrue(document.text().contains("Location: C:\\u"));
will not work).
blindpirate commented
This is intentional. Have you checked javadoc output HTML of your PR https://github.com/ByteLegendQuest/java-fix-broken-javadoc/pull/51/files ? Your answer is wrong, because we want to see C:\users\...
in the HTML output, but your answer outputs C:\\users...
.