Fix tests

Relates to #KT-30622
This commit is contained in:
Dmitry Gridin
2019-05-28 17:06:24 +07:00
parent 8988b4b344
commit f5796a303d
2 changed files with 2 additions and 0 deletions
@@ -1,4 +1,5 @@
// "Cast expression 's' to 'String'" "false"
// ACTION: Add 's =' to argument
// ACTION: Add 'toString()' call
// ACTION: Add non-null asserted (!!) call
// ACTION: Change parameter 's' type of function 'bar' to 'String?'
@@ -1,5 +1,6 @@
// "Surround with lambda" "false"
// ERROR: Null can not be a value of a non-null type () -> String
// ACTION: Add 'block =' to argument
// ACTION: Change parameter 'block' type of function 'str' to '(() -> String)?'
// ACTION: Do not show hints for current method
fun nullFn() {