Skip to content

Commit

Permalink
Adjust to Julia 1.12 change to implicit world age increment
Browse files Browse the repository at this point in the history
Julia 1.12 will no longer implicitly increment world ages within
expressions. However, we will likely retain world age increments
between statements of a `@testset`, so all that's needed here
is to move the `load` to a separate like. More explicitly,
the `collect`s could be `invokelatest`'ed instead.
  • Loading branch information
Keno committed Nov 20, 2024
1 parent 8840934 commit b88eed3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/loadsave.jl
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,9 @@ end
if VERSION >= v"1.3" begin
@testset "CSV load from URL via CSVFiles (#320)" begin
f = joinpath("files", "data.csv")
@test collect(load(f)) == collect(load("https://raw.githubusercontent.com/queryverse/CSVFiles.jl/v0.2.0/test/data.csv"))
c1 = load(f)
c2 = load("https://raw.githubusercontent.com/queryverse/CSVFiles.jl/v0.2.0/test/data.csv")
@test collect(c1) == collect(c2)
end
end

Expand Down

0 comments on commit b88eed3

Please sign in to comment.