Skip to content

Commit b76c6d1

Browse files
committed
Fix escaping quotes
1 parent 6feb022 commit b76c6d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

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

7676
@Test def replEval =
77-
// Do not run this test on Windows since it is wrongly escaped (#22689)
78-
assumeFalse(System.getProperty("os.name").startsWith("Windows"));
79-
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", "\"println(\\\"Hello from init script!\\\"); val i = 2 * 2\"")(0)
8078

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

0 commit comments

Comments
 (0)