From 79159a47202cda8bdfa74e3e594f69ab1f6c9e2a Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Sun, 19 Oct 2025 23:17:34 +0300 Subject: #5: Fixen an issue where same-name children of a root would cause the nodes to close too early. --- test/dompa/coordinates_test.cljc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dompa/coordinates_test.cljc') diff --git a/test/dompa/coordinates_test.cljc b/test/dompa/coordinates_test.cljc index 1a69114..9b05826 100644 --- a/test/dompa/coordinates_test.cljc +++ b/test/dompa/coordinates_test.cljc @@ -66,13 +66,13 @@ (testing "Unify coordinates with invalid HTML" (let [html "
hello"] (is (= {:html html - :coordinates [[0 4] [5 9]]} + :coordinates [[5 9]]} (-> (coordinates/compose html) coordinates/unify)))) (let [html "
hello"] (is (= {:html html - :coordinates [[0 4] [5 9]]} + :coordinates [[5 9]]} (-> (coordinates/compose html) coordinates/unify))))) -- cgit v1.2.3