Unify script file extensions to "kts" so that IDEA, compiler and tests agree when to parse as SCRIPT.
Include kt* files into formatter test generation, to test scripting formatting
This commit is contained in:
committed by
Andrey Breslav
parent
4ba423ee16
commit
98c54f39bb
@@ -1,3 +1,3 @@
|
||||
-printArgs
|
||||
-script
|
||||
$TESTDATA_DIR$/hello.ktscript
|
||||
$TESTDATA_DIR$/hello.kts
|
||||
@@ -1,3 +1,3 @@
|
||||
INFO: Invoking compiler org.jetbrains.jet.cli.jvm.K2JVMCompiler with arguments -printArgs -script compiler/testData/cli/jvm/hello.ktscript
|
||||
INFO: Invoking compiler org.jetbrains.jet.cli.jvm.K2JVMCompiler with arguments -printArgs -script compiler/testData/cli/jvm/hello.kts
|
||||
hello
|
||||
OK
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
-script
|
||||
$TESTDATA_DIR$/script.ktscript
|
||||
$TESTDATA_DIR$/script.kts
|
||||
hi
|
||||
there
|
||||
Reference in New Issue
Block a user