Skip to content

Commit

Permalink
fix 1.6 compat issue
Browse files Browse the repository at this point in the history
  • Loading branch information
haberdashPI committed Sep 10, 2024
1 parent dbccd7e commit 9895a37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,8 @@ end
end

@testset "errors when expecting all missing values" begin
@test_throws r"expected.*all.*missing"i FieldErrorV1(Legolas.AllMissing(); a="a")
ex = ArgumentError("Expected all arguments passed to `FieldErrorV1` to be missing.")
@test_throws ex FieldErrorV1(Legolas.AllMissing(); a="a")
end
end

Expand Down

0 comments on commit 9895a37

Please sign in to comment.