summaryrefslogtreecommitdiff
path: root/test/dompa
diff options
context:
space:
mode:
authorAsko Nõmm <asko@repl.ee>2025-10-19 23:18:39 +0300
committerGitHub <noreply@github.com>2025-10-19 23:18:39 +0300
commit497a7dcf8456494cf2e9484e0bf2c400705fbe74 (patch)
tree29ab638914f1493f122f41d2c14da7b4b7286745 /test/dompa
parent23542524c4b545c2489ec1a429f810cbfcd003cd (diff)
parent79159a47202cda8bdfa74e3e594f69ab1f6c9e2a (diff)
Merge pull request #6 from askonomm/5-same-name-elements-close-too-earlyv1.0.2
#5: Fixen an issue where same-name children of a root would cause the…
Diffstat (limited to 'test/dompa')
-rw-r--r--test/dompa/coordinates_test.cljc4
1 files changed, 2 insertions, 2 deletions
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 "<div>hello"]
(is (= {:html html
- :coordinates [[0 4] [5 9]]}
+ :coordinates [[5 9]]}
(-> (coordinates/compose html)
coordinates/unify))))
(let [html "<div>hello</span>"]
(is (= {:html html
- :coordinates [[0 4] [5 9]]}
+ :coordinates [[5 9]]}
(-> (coordinates/compose html)
coordinates/unify)))))