Skip to content

Commit

Permalink
Change error type in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHnt committed Apr 4, 2024
1 parent 5d2b6da commit b5b584c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/interval_tests/exact_literals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
@test isguaranteed(Z)
@test in_interval(0, Z)

@test_throws ArgumentError convert(ExactReal{Float64}, 2)
@test_throws MethodError convert(ExactReal{Float64}, 2)

@test has_exact_display(0.5)
@test !has_exact_display(0.1)
end
end

0 comments on commit b5b584c

Please sign in to comment.