[Test] Handle any Throwable from test instead of AssertionError
This commit is contained in:
@@ -40,7 +40,7 @@ object JUnit4Assertions : Assertions() {
|
||||
KtUsefulTestCase.assertSameElements(message?.invoke() ?: "", expected, actual)
|
||||
}
|
||||
|
||||
override fun assertAll(exceptions: List<AssertionError>) {
|
||||
override fun assertAll(exceptions: List<Throwable>) {
|
||||
exceptions.forEach { throw it }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user