Switch cli expression evaluation argument syntax to -expression/-e
#KT-35414 fixed
This commit is contained in:
+2
-2
@@ -50,7 +50,7 @@ class ScriptingWithCliCompilerTest {
|
||||
fun testExpression() {
|
||||
runWithK2JVMCompiler(
|
||||
arrayOf(
|
||||
"-Xexpression",
|
||||
"-expression",
|
||||
"val x = 7; println(x * 6); for (arg in args) println(arg)",
|
||||
"--",
|
||||
"hi",
|
||||
@@ -64,7 +64,7 @@ class ScriptingWithCliCompilerTest {
|
||||
fun testExpressionWithComma() {
|
||||
runWithK2JVMCompiler(
|
||||
arrayOf(
|
||||
"-Xexpression",
|
||||
"-expression",
|
||||
"listOf(1,2)"
|
||||
),
|
||||
listOf("\\[1, 2\\]")
|
||||
|
||||
Reference in New Issue
Block a user