Temporally hacked js assert to make depending tests work
This commit is contained in:
committed by
Roman Artemev
parent
efdc5701d9
commit
ec57a335f7
@@ -0,0 +1,5 @@
|
||||
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)")
|
||||
Reference in New Issue
Block a user