Skip to content

Commit

Permalink
Add comment for future version test
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Jun 17, 2022
1 parent 4155c40 commit d4a7732
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/tzjfile/read.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ end
@test tzj_class == class
end

# As we use dispatch for chosing how to parse a version of a tzjfile attempting to read
# a newer version that TimeZones.jl does not understand results in a `MethodError`
@testset "Future_Version" begin
@test_throws MethodError open(joinpath(TZJFILE_DIR, "Future_Version"), "r") do fp
TZJFile.read(fp)("Future_Version")
Expand Down

0 comments on commit d4a7732

Please sign in to comment.