Fix linting error.

This commit is contained in:
Michael Kaye 2022-05-13 16:19:55 +01:00
parent fa26e2a23e
commit 4ced6ca179
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ class CommonTestHelper(context: Context) {
fun await(latch: CountDownLatch, timeout: Long? = TestConstants.timeOutMillis) { fun await(latch: CountDownLatch, timeout: Long? = TestConstants.timeOutMillis) {
assertTrue( assertTrue(
"Timed out after " + timeout + "ms waiting for something to happen. See stacktrace for cause.", "Timed out after " + timeout + "ms waiting for something to happen. See stacktrace for cause.",
latch.await( timeout ?: TestConstants.timeOutMillis, TimeUnit.MILLISECONDS) latch.await(timeout ?: TestConstants.timeOutMillis, TimeUnit.MILLISECONDS)
) )
} }