Unnecessary safe call on a non-null receiver

pull/1166/head
Simon Marquis 10 months ago committed by GitHub
parent aea26aa831
commit 3fbdf75ecf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -38,7 +38,7 @@ class ResultKtTest {
when (val errorResult = awaitItem()) { when (val errorResult = awaitItem()) {
is Result.Error -> assertEquals( is Result.Error -> assertEquals(
"Test Done", "Test Done",
errorResult.exception?.message, errorResult.exception.message,
) )
Result.Loading, Result.Loading,
is Result.Success, is Result.Success,

Loading…
Cancel
Save