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
@@ -4,6 +4,8 @@
// ACTION: Add parameter to function 'foo'
// ACTION: Create extension function 'X.foo'
// ACTION: Create member function 'X.foo'
// ACTION: Convert to run
// ACTION: Convert to with
package main
@@ -1,5 +1,7 @@
// "class org.jetbrains.kotlin.idea.quickfix.ImportFix" "false"
// ACTION: Rename reference
// ACTION: Convert to run
// ACTION: Convert to with
// ERROR: Unresolved reference: externalFun
package testing
@@ -2,6 +2,8 @@
// ACTION: Convert property initializer to getter
// ACTION: Create class 'SomeTest'
// ACTION: Rename reference
// ACTION: Convert to run
// ACTION: Convert to with
// ERROR: Unresolved reference: SomeTest
package testing