summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test')
-rw-r--r--plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test b/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test
index d87f01b9e73b..4fad1fef7170 100644
--- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test
+++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage.test
@@ -1,8 +1,8 @@
// FILE: first.before.kt
// "Opt in for 'Ann' on 'test'" "true"
-// COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn
+// COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn
// WITH_RUNTIME
-// ERROR: This declaration is experimental and its usage must be marked with '@fun.optin.Ann' or '@OptIn(fun.optin.Ann::class)'
+// ERROR: This declaration needs opt-in. Its usage must be marked with '@fun.optin.Ann' or '@OptIn(fun.optin.Ann::class)'
import `fun`.optin.C
fun test(c: C<caret>) {
@@ -21,9 +21,9 @@ class C
// FILE: first.after.kt
// "Opt in for 'Ann' on 'test'" "true"
-// COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn
+// COMPILER_ARGUMENTS: -opt-in=kotlin.RequiresOptIn
// WITH_RUNTIME
-// ERROR: This declaration is experimental and its usage must be marked with '@fun.optin.Ann' or '@OptIn(fun.optin.Ann::class)'
+// ERROR: This declaration needs opt-in. Its usage must be marked with '@fun.optin.Ann' or '@OptIn(fun.optin.Ann::class)'
import `fun`.optin.Ann
import `fun`.optin.C