Skip to content

Commit

Permalink
Fixed wrong fail message in KeysRotatorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
BuddahLD committed Jan 20, 2020
1 parent 5090d6f commit d1dbf4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class KeysRotatorTest {
}
storedOneTimeKeysIds.forEachIndexed { i, value ->
if (cloudOneTimeKeysIds[i] == null)
fail("${cloudOneTimeKeysIds[i]} should not be null")
fail("cloudOneTimeKeysIds should not contain null\'s")

if (!cloudOneTimeKeysIds[i].contentEquals(value)) {
logger.warning("Could one time key $i doesn't match")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class KeysRotatorTest {
}
storedOneTimeKeysIds.forEachIndexed { i, value ->
if (cloudOneTimeKeysIds[i] == null)
fail<NullPointerException>("${cloudOneTimeKeysIds[i]} should not be null")
fail<NullPointerException>("cloudOneTimeKeysIds should not contain null's")

if (!cloudOneTimeKeysIds[i].contentEquals(value)) {
logger.warning("Could one time key $i doesn't match")
Expand Down

0 comments on commit d1dbf4f

Please sign in to comment.