Change test data to reproduce the same error as was before adding an overload of assert.

This commit is contained in:
Ilya Gorbunov
2015-09-07 22:10:53 +03:00
parent e9901e7351
commit a59962c620
@@ -1,7 +1,7 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
// ERROR: <html>None of the following functions can be called with the arguments supplied. <ul><li>assert(<font color=red><b>Boolean</b></font>, () &rarr; Any) <i>defined in</i> kotlin</li><li>assert(<font color=red><b>Boolean</b></font>, Any = ...) <i>defined in</i> kotlin</li></ul></html>
// ERROR: <html>None of the following functions can be called with the arguments supplied. <ul><li>assert(<font color=red><b>Boolean</b></font>) <i>defined in</i> kotlin</li><li>assert(<font color=red><b>Boolean</b></font>, <font color=red><b>() &rarr; Any</b></font>) <i>defined in</i> kotlin</li><li>assert(<font color=red><b>Boolean</b></font>, Any = ...) <i>defined in</i> kotlin</li></ul></html>
fun foo() {
<caret>assert { "text" }
<caret>assert()
}