Fix a bunch of IDE quick-fix tests (related to "convert to run/...")

These actions became available more often some days ago
This commit is contained in:
Mikhail Glukhikh
2019-02-25 10:37:07 +03:00
parent 4ef12b1ed7
commit c084eefb65
27 changed files with 56 additions and 0 deletions
@@ -1,6 +1,8 @@
// "Surround with null check" "false"
// ACTION: Add non-null asserted (!!) call
// ACTION: Replace with safe (?.) call
// ACTION: Convert to run
// ACTION: Convert to with
// ERROR: Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
fun foo(s: String?) {