summaryrefslogtreecommitdiff
path: root/test/dompa
diff options
context:
space:
mode:
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)))))