File tree Expand file tree Collapse file tree
src/test/java/com/github/underscore Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 run : mvn -B -f examples/pom.xml package
5656 - name : Build spring-boot
5757 run : mvn -B -f spring-boot-example/pom.xml package
58- - uses : codecov/codecov-action@v5
58+ - uses : codecov/codecov-action@v7
5959 with :
6060 files : target/site/jacoco/jacoco.xml
6161 name : codecov
Original file line number Diff line number Diff line change @@ -743,7 +743,7 @@ void fetchPut() {
743743 assertEquals (404 , result2 .getStatus ());
744744 U .Chain <String > resultChain =
745745 U .chain (
746- "http://support.oneskyapp .com/hc/en-us/article_attachments/202761627/example_1.json " )
746+ "http://www.w3schools .com/xml/note.xml " )
747747 .fetch (
748748 "PUT" ,
749749 "{"
@@ -754,15 +754,8 @@ void fetchPut() {
754754 + " \" fireBreath\" : 10"
755755 + " }"
756756 + "}" );
757- assertEquals (
758- "<html>\n "
759- + "<head><title>301 Moved Permanently</title></head>\n "
760- + "<body>\n "
761- + "<center><h1>301 Moved Permanently</h1></center>\n "
762- + "<hr><center>nginx</center>\n "
763- + "</body>\n "
764- + "</html>\n " ,
765- resultChain .item ().replace ("\r \n " , "\n " ));
757+ assertTrue (
758+ resultChain .item ().replace ("\r \n " , "\n " ).startsWith ("\n <!DOCTYPE html>\n <html lang=\" en\" >" ));
766759 }
767760
768761 static class TestInputStream extends java .io .InputStream {
You can’t perform that action at this time.
0 commit comments