[Test] Handle any Throwable from test instead of AssertionError

This commit is contained in:
Dmitriy Novozhilov
2021-01-22 12:34:56 +03:00
parent c111c33950
commit 42f9442728
11 changed files with 21 additions and 17 deletions
@@ -44,7 +44,7 @@ abstract class Assertions {
return collection.joinToString("\n")
}
abstract fun assertAll(exceptions: List<AssertionError>)
abstract fun assertAll(exceptions: List<Throwable>)
abstract fun fail(message: () -> String): Nothing
}