Exclude common file asserts.kt from tests using StdLib, as its methods conflict with kotlin.test.* methods.

This commit is contained in:
Ilya Gorbunov
2015-09-04 16:13:39 +03:00
parent e61d202d71
commit 4f9e2c24d1
3 changed files with 22 additions and 1 deletions
+2
View File
@@ -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)