Remove the version of fail.kt that was "hacked" for JS IR BE tests
This commit is contained in:
+4
-1
@@ -2,4 +2,7 @@ package kotlin
|
||||
// This file should be excluded from tests using StdLib, as these methods conflict with corresponding methods from kotlin.test
|
||||
// see StdLibTestBase.removeAdHocAssertions
|
||||
|
||||
fun fail(message: String? = null) = js("throw new Error(message)")
|
||||
fun fail(message: String? = null): Nothing {
|
||||
js("throw new Error(message)")
|
||||
null!!
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package kotlin
|
||||
// This file should be excluded from tests using StdLib, as these methods conflict with corresponding methods from kotlin.test
|
||||
// see StdLibTestBase.removeAdHocAssertions
|
||||
|
||||
fun fail(message: String? = null): Nothing {
|
||||
null!!
|
||||
}
|
||||
Reference in New Issue
Block a user