Skip to content

Commit 58f1035

Browse files
committed
Restored fetch put response check
1 parent 4f753fb commit 58f1035

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/test/java/com/github/underscore/LodashTest.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,15 @@ void fetchPut() {
742742
+ " \"fireBreath\": 10"
743743
+ " }"
744744
+ "}");
745-
assertTrue(resultChain.item().length() >= 0);
745+
assertEquals(
746+
"<html>\n"
747+
+ "<head><title>301 Moved Permanently</title></head>\n"
748+
+ "<body>\n"
749+
+ "<center><h1>301 Moved Permanently</h1></center>\n"
750+
+ "<hr><center>cloudflare</center>\n"
751+
+ "</body>\n"
752+
+ "</html>\n",
753+
resultChain.item().replace("\r\n", "\n"));
746754
}
747755

748756
@Test

0 commit comments

Comments
 (0)