Skip to content

Commit

Permalink
avoid unicode hyphen error
Browse files Browse the repository at this point in the history
  • Loading branch information
daanhb committed Sep 6, 2023
1 parent 272c4ea commit 1162e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_readme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using DomainSets, StaticArrays
@test repr(UnitInterval()) == "$(0.0..1.0) (Unit)"
@test repr(ChebyshevInterval()) == "$(-1.0..1.0) (Chebyshev)"
@test repr(HalfLine()) == "$(0.0..Inf) (closed–open) (HalfLine)"
@test repr(HalfLine())[1:10] == "$(0.0..Inf)"

using DomainSets: ×
@test repr((-1..1) × (0..3) × (4.0..5.0)) == "($(-1.0..1.0)) × ($(0.0..3.0)) × ($(4.0..5.0))"
Expand Down

0 comments on commit 1162e66

Please sign in to comment.