This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new 91a7ad165 Fix tf on Windows only.
91a7ad165 is described below
commit 91a7ad16504b996b2903f69208fc025e9d25a72b
Author: JamesBognar <[email protected]>
AuthorDate: Sat Oct 8 09:29:44 2022 -0400
Fix tf on Windows only.
---
.../java/org/apache/juneau/rest/client/RestClient_Logging_Test.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/juneau-utest/src/test/java/org/apache/juneau/rest/client/RestClient_Logging_Test.java
b/juneau-utest/src/test/java/org/apache/juneau/rest/client/RestClient_Logging_Test.java
index 6db99950f..b3dc212c6 100644
---
a/juneau-utest/src/test/java/org/apache/juneau/rest/client/RestClient_Logging_Test.java
+++
b/juneau-utest/src/test/java/org/apache/juneau/rest/client/RestClient_Logging_Test.java
@@ -67,7 +67,7 @@ public class RestClient_Logging_Test {
c.reset();
client().logRequests(DetailLevel.SIMPLE,Level.SEVERE,null).logToConsole().logger(l).console(c).build().post("/bean",bean).complete();
- c.assertContents().is("HTTP POST http://localhost/bean,
HTTP/1.1 200 \n");
+ c.assertContents().isContains("HTTP POST http://localhost/bean,
HTTP/1.1 200");
c.reset();
client().logRequests(DetailLevel.FULL,Level.SEVERE,null).logToConsole().logger(l).console(c).build().post("/bean",bean).complete();
@@ -148,7 +148,7 @@ public class RestClient_Logging_Test {
client().logger(l).logRequests(DetailLevel.SIMPLE,Level.WARNING,null).build().post("/bean",bean).complete();
l.assertLastLevel(Level.WARNING);
l.assertLastMessage().is("HTTP POST http://localhost/bean,
HTTP/1.1 200 ");
- l.assertContents().isContains("WARNING: HTTP POST
http://localhost/bean, HTTP/1.1 200 \n");
+ l.assertContents().isContains("WARNING: HTTP POST
http://localhost/bean, HTTP/1.1 200");
l.reset();
client().logger(l).logRequests(DetailLevel.FULL,Level.WARNING,null).build().post("/bean",bean).complete();