Skip to content

Commit cc01e19

Browse files
committed
Use isNull()
1 parent 70e3e76 commit cc01e19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/matrix/impl/src/test/kotlin/io/element/android/libraries/matrix/impl/auth/AuthenticationExceptionMappingTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class AuthenticationExceptionMappingTest {
1919
fun `mapping an exception with no message returns null message`() {
2020
val exception = Exception()
2121
val mappedException = exception.mapAuthenticationException()
22-
assertThat(mappedException.message).isEqualTo(null)
22+
assertThat(mappedException.message).isNull()
2323
}
2424

2525
@Test

0 commit comments

Comments
 (0)