Exclude common file asserts.kt from tests using StdLib, as its methods conflict with kotlin.test.* methods.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
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) = throw Exception(message)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user