Fix linting error.
This commit is contained in:
parent
fa26e2a23e
commit
4ced6ca179
|
@ -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)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue