From b58f607ab8aa6392a3e2b55d996dd7620da3d31b Mon Sep 17 00:00:00 2001 From: salt-die <53280662+salt-die@users.noreply.github.com> Date: Sun, 26 Nov 2023 04:23:41 -0600 Subject: [PATCH] Empty gaps should have empty endpoints. --- tests/test_union.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_union.py b/tests/test_union.py index 0d70d1d..41a6236 100644 --- a/tests/test_union.py +++ b/tests/test_union.py @@ -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