Remove the version of fail.kt that was "hacked" for JS IR BE tests

This commit is contained in:
Zalim Bashorov
2018-04-24 19:48:58 +03:00
parent 34587d9192
commit 27988cd2f4
4 changed files with 7 additions and 13 deletions
+4 -1
View File
@@ -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!!
}
-7
View File
@@ -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!!
}