[Native][tests] Minor. Prefer using JUnit assertions over Kotlin checks

This commit is contained in:
Dmitriy Dolovov
2021-11-12 17:08:20 +03:00
parent e21c9fe3b2
commit c219e53634
@@ -235,8 +235,8 @@ internal interface TestCaseGroup {
companion object {
val ALL_DISABLED = object : TestCaseGroup {
override fun isEnabled(testDataFileName: String) = false
override fun getByName(testDataFileName: String) = error("This function should not be called")
override fun getRegularOnlyByCompilerArgs(freeCompilerArgs: TestCompilerArgs) = error("This function should not be called")
override fun getByName(testDataFileName: String) = fail { "This function should not be called" }
override fun getRegularOnlyByCompilerArgs(freeCompilerArgs: TestCompilerArgs) = fail { "This function should not be called" }
}
}
}