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:
@@ -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) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user