File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 650650# normalization of paths by include (#26424)
651651@test begin
652652 exc = try ; include (" ./notarealfile.jl" ); " unexpectedly reached!" ; catch exc; exc; end
653- @test exc isa SystemError
654- exc. prefix
655- end == " opening file $(repr (joinpath (@__DIR__ , " notarealfile.jl" ))) "
653+ @test exc isa ArgumentError
654+ exc. msg
655+ end == " $(repr (joinpath (@__DIR__ , " notarealfile.jl" ))) : No such file or directory "
656656
657657old_act_proj = Base. ACTIVE_PROJECT[]
658658pushfirst! (LOAD_PATH , " @" )
@@ -1529,6 +1529,6 @@ end
15291529 end
15301530
15311531 file = joinpath (depot, " dev" , " non-existent.jl" )
1532- @test_throws SystemError ( " opening file $(repr (file)) " ) include (file)
1532+ @test_throws ArgumentError ( " $(repr (file)) : No such file or directory " ) include (file)
15331533 end
15341534end
You can’t perform that action at this time.
0 commit comments