Merge pull request #225 from sigito/patch-1

#KT-3381 fixed.
This commit is contained in:
Andrey Breslav
2013-03-11 02:03:24 -07:00
+1 -1
View File
@@ -20,7 +20,7 @@ public inline fun assertNot(message: String, block: ()-> Boolean) {
assertTrue(message){ !block() }
}
/** Asserts that the given block returns true */
/** Asserts that the given block returns false */
public inline fun assertNot(block: ()-> Boolean) : Unit = assertNot(block.toString(), block)
/** Asserts that the expression is true with an optional message */