Skip to content

Commit

Permalink
Empty gaps should have empty endpoints.
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-die committed Nov 26, 2023
1 parent 972d522 commit b58f607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_union.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def test_bounded_intersecting_singleton():

def test_bounded_intersecting_empty():
a = Gaps([0, 2])
b = Gaps([Endpoint(0, "("), Endpoint(0, "]")])
b = Gaps()
assert a | b == a

0 comments on commit b58f607

Please sign in to comment.