Skip to content

Commit e1998c0

Browse files
committed
Fix a Windows path error on 1.11
1 parent 149c0d9 commit e1998c0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ isdefined(Main, :Revise) ? Main.Revise.includet("script.jl") : include("script.j
137137
idx = findfirst(lin -> String(lin.file) != @__FILE__, src.linetable)
138138
lin = src.linetable[idx]
139139
file, line = whereis(lin, m)
140-
@test endswith(file, String(lin.file))
140+
if !Sys.iswindows()
141+
@test endswith(file, String(lin.file))
142+
end
141143

142144
# Issues raised in #48
143145
m = @which(sum([1]; dims=1))

0 commit comments

Comments
 (0)