Skip to content

Commit 17f42df

Browse files
committed
Windows platforms need path strings to be escaped
1 parent 0e593ba commit 17f42df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ end
145145
@test occursin("outputo: ok", app_output)
146146
@test occursin("myrand: ok", app_output)
147147
# Check env-provided depot and load paths are accepted
148-
@test occursin("DEPOT_PATH = [\"$test_depot_path", app_output)
149-
@test occursin("LOAD_PATH = [\"$test_load_path", app_output)
148+
@test occursin("DEPOT_PATH = [\"$(escape_string(test_depot_path))", app_output)
149+
@test occursin("LOAD_PATH = [\"$(escape_string(test_load_path))", app_output)
150150
# Check distributed
151151
@test occursin("n = 20000000", app_output)
152152
@test occursin("From worker 2:\t8", app_output)

0 commit comments

Comments
 (0)