Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: mvn -B -f examples/pom.xml package
- name: Build spring-boot
run: mvn -B -f spring-boot-example/pom.xml package
- uses: codecov/codecov-action@v5
- uses: codecov/codecov-action@v7
with:
files: target/site/jacoco/jacoco.xml
name: codecov
Expand Down
13 changes: 3 additions & 10 deletions src/test/java/com/github/underscore/LodashTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ void fetchPut() {
assertEquals(404, result2.getStatus());
U.Chain<String> resultChain =
U.chain(
"http://support.oneskyapp.com/hc/en-us/article_attachments/202761627/example_1.json")
"http://www.w3schools.com/xml/note.xml")
.fetch(
"PUT",
"{"
Expand All @@ -754,15 +754,8 @@ void fetchPut() {
+ " \"fireBreath\": 10"
+ " }"
+ "}");
assertEquals(
"<html>\n"
+ "<head><title>301 Moved Permanently</title></head>\n"
+ "<body>\n"
+ "<center><h1>301 Moved Permanently</h1></center>\n"
+ "<hr><center>nginx</center>\n"
+ "</body>\n"
+ "</html>\n",
resultChain.item().replace("\r\n", "\n"));
assertTrue(
resultChain.item().replace("\r\n", "\n").startsWith("\n<!DOCTYPE html>\n<html lang=\"en\">"));
}

static class TestInputStream extends java.io.InputStream {
Expand Down
Loading