Temporally hacked js assert to make depending tests work

This commit is contained in:
Roman Artemev
2018-04-23 21:00:06 +03:00
committed by Roman Artemev
parent efdc5701d9
commit ec57a335f7
6 changed files with 42 additions and 29 deletions
+5
View File
@@ -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)")