File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
modules/integration/src/test/scala/scala/cli/integration Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -520,8 +520,9 @@ class SipScalaTests extends ScalaCliSuite with SbtTestHelper with MillTestHelper
520
520
if (sv.startsWith(" 3" )) " println(dotty.tools.dotc.config.Properties.simpleVersionString)"
521
521
else " println(scala.util.Properties.versionNumberString)"
522
522
anotherVersion =
523
- if (sv.startsWith(" 3" )) Constants .scala3Lts
524
- else " 2.13.7"
523
+ if (sv.startsWith(" 2.13" )) Constants .scala212
524
+ else if (sv.startsWith(" 2.12" )) Constants .scala213
525
+ else Constants .scala3Lts
525
526
} {
526
527
test(
527
528
s " default Scala version overridden with $sv by a launcher parameter is respected when running a script "
@@ -541,7 +542,7 @@ class SipScalaTests extends ScalaCliSuite with SbtTestHelper with MillTestHelper
541
542
}
542
543
}
543
544
test(
544
- s " default Scala version overridden with $sv by a launcher parameter is overridable by -S "
545
+ s " default Scala version overridden with $sv by a launcher parameter is overridable by -S passing $anotherVersion "
545
546
) {
546
547
TestInputs (os.rel / " simple.sc" -> code)
547
548
.fromRoot { root =>
You can’t perform that action at this time.
0 commit comments