Skip to content

Commit 43c0961

Browse files
committed
Fix bash test by escaping quotes
1 parent 0c5a25c commit 43c0961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/scripting/BashExitCodeTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class BashExitCodeTests:
7373
@Test def xPluginList = scala("-Xplugin-list")(0)
7474
@Test def vPhases = scala("-Vphases")(0)
7575

76-
@Test def replEval = repl("--repl-eval", "--repl-init-script", "println(\"Hello from init script!\"); val i = 2 * 2")(0)
76+
@Test def replEval = repl("--repl-eval", "--repl-init-script", "\'println(\"Hello from init script!\"); val i = 2 * 2\'")(0)
7777

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

0 commit comments

Comments
 (0)