Skip to content

Commit

Permalink
Remove locale dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
aahlenst committed Mar 7, 2017
1 parent 8eeebc1 commit c18b3e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions okhttp-tests/src/test/java/okhttp3/CallTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2844,7 +2844,7 @@ private RequestBody requestBody(final boolean chunked, final long size, final in
awaitGarbageCollection();

String message = logHandler.take();
assertTrue(message.contains("WARNING: A connection to " + server.url("/") + " was leaked."
assertTrue(message.contains("A connection to " + server.url("/") + " was leaked."
+ " Did you forget to close a response body?"));
assertTrue(message.contains("okhttp3.RealCall.execute("));
assertTrue(message.contains("okhttp3.CallTest.leakedResponseBodyLogsStackTrace("));
Expand Down Expand Up @@ -2887,7 +2887,7 @@ private RequestBody requestBody(final boolean chunked, final long size, final in
awaitGarbageCollection();

String message = logHandler.take();
assertTrue(message.contains("WARNING: A connection to " + server.url("/") + " was leaked."
assertTrue(message.contains("A connection to " + server.url("/") + " was leaked."
+ " Did you forget to close a response body?"));
assertTrue(message.contains("okhttp3.RealCall.enqueue("));
assertTrue(message.contains("okhttp3.CallTest.asyncLeakedResponseBodyLogsStackTrace("));
Expand Down

0 comments on commit c18b3e7

Please sign in to comment.