Skip to content

Commit

Permalink
Update test for TimeZones 1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed May 21, 2024
1 parent 11906bd commit 6bdb382
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,15 @@ end
end

@testset "load compiled" begin
# https://github.com/JuliaTime/TimeZones.jl/pull/457
reload_tz_cache! = if isdefined(TimeZones, :_reload_tz_cache)
_reload_tz_cache!
end
_reload_cache!
end

cache = Dict{String,Tuple{TimeZone,Class}}()
_reload_cache!(cache, TZJData.ARTIFACT_DIR)
reload_tz_cache!(cache, TZJData.ARTIFACT_DIR)
@test !isempty(cache)
end

Expand Down

0 comments on commit 6bdb382

Please sign in to comment.