summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test')
-rw-r--r--plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test b/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test
index 3321b647f78b..de51a65cb4e2 100644
--- a/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test
+++ b/plugins/kotlin/idea/tests/testData/quickfix/experimental/reservedKeywordPackage2.test
@@ -1,8 +1,8 @@
// FILE: first.before.kt
// "Propagate 'Ann' opt-in requirement to '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
// "Propagate 'Ann' opt-in requirement to '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