Skip to content

Commit 02c67bc

Browse files
committed
Try simple argument
1 parent b76c6d1 commit 02c67bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/test/dotty/tools/scripting/BashExitCodeTests.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class BashExitCodeTests:
7474
@Test def vPhases = scala("-Vphases")(0)
7575

7676
@Test def replEval =
77-
repl("--repl-quit-after-init", "--repl-init-script", "\"println(\\\"Hello from init script!\\\"); val i = 2 * 2\"")(0)
77+
repl("--repl-quit-after-init", "--repl-init-script", "'val i = 2 * 2; val j = i + 2'")(0)
7878

7979
/** A utility for running two commands in a row, like you do in bash. */
8080
extension (inline u1: Unit) inline def & (inline u2: Unit): Unit = { u1; u2 }

0 commit comments

Comments
 (0)