Skip to content

Commit 94a57d0

Browse files
committed
Try to fix windows
1 parent bac453e commit 94a57d0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/sandbox.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,16 @@ end
105105
scent = "shadowed"
106106
""")
107107
end
108+
109+
# Use `/` on windows as well
110+
spp_path = joinpath(tmp, "Sandbox_PreservePreferences")
111+
if Sys.iswindows()
112+
spp_path = join(splitpath(spp_path), "/")
113+
end
108114
open(joinpath(outer_layer, "Manifest.toml"), write=true) do io
109115
println(io, """
110116
[[Sandbox_PreservePreferences]]
111-
path = "$(joinpath(tmp, "Sandbox_PreservePreferences"))"
117+
path = "$(spp_path)"
112118
uuid = "$(spp_uuid)"
113119
""")
114120
end

0 commit comments

Comments
 (0)