Skip to content

Commit

Permalink
API compat
Browse files Browse the repository at this point in the history
  • Loading branch information
rmaucher committed Dec 11, 2024
1 parent 64ee4fa commit e504e8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,9 @@ public boolean isResponseBodyOK() {
}
String scExpectation = usePredicate ? "IntPredicate" : Arrays.toString(scExpected);
Assert.assertTrue(
"Failure - sc expected:%s, sc actual:%d, %s, task:%s, \ntarget resource:(%s,%s), \nreq headers: %s, \nresp headers: %s"
.formatted(scExpectation, sc, message, task, etag, FastHttpDateFormat.formatDate(lastModified),
requestHeaders.toString(), responseHeaders.toString()),
"Failure - sc expected:" + scExpectation + ", sc actual:" + String.valueOf(sc) + ", " + message
+ ", task:" + task + ", \ntarget resource:(" + etag + "," + FastHttpDateFormat.formatDate(lastModified)
+ "), \nreq headers: " + requestHeaders.toString() + ", \nresp headers: " + responseHeaders.toString(),
test);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,9 +425,9 @@ public boolean isResponseBodyOK() {
}
String scExpectation = usePredicate ? "IntPredicate" : Arrays.toString(scExpected);
Assert.assertTrue(
"Failure - sc expected:%s, sc actual:%d, task:%s, \ntarget resource:(%s,%s), \nreq headers: %s, \nresp headers: %s"
.formatted(scExpectation, sc, task, etag, FastHttpDateFormat.formatDate(lastModified),
requestHeaders.toString(), responseHeaders.toString()),
"Failure - sc expected:" + scExpectation + ", sc actual:" + String.valueOf(sc)
+ ", task:" + task + ", \ntarget resource:(" + etag + "," + FastHttpDateFormat.formatDate(lastModified)
+ "), \nreq headers: " + requestHeaders.toString() + ", \nresp headers: " + responseHeaders.toString(),
test);
}
}

0 comments on commit e504e8a

Please sign in to comment.