1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-26 06:43:09 +03:00

Kotlin version of logging-interceptor (#4820)

This commit is contained in:
Yuri Schimke
2019-03-30 22:22:28 +00:00
committed by GitHub
parent c11b2e5fe1
commit 02914fbba1
8 changed files with 473 additions and 520 deletions

View File

@@ -98,8 +98,7 @@ public final class HttpLoggingInterceptorTest {
try {
applicationInterceptor.setLevel(null);
fail();
} catch (NullPointerException expected) {
assertThat(expected.getMessage()).isEqualTo("level == null. Use Level.NONE instead.");
} catch (IllegalArgumentException expected) {
}
}