diff --git a/src/editscript/util/pairing.cljc b/src/editscript/util/pairing.cljc index 4998734..953f577 100644 --- a/src/editscript/util/pairing.cljc +++ b/src/editscript/util/pairing.cljc @@ -158,7 +158,6 @@ (set! heap (insert heap item priority)) this)) - IAssociative IAssociative (-assoc [this item priority] (set! map (assoc map item priority)) diff --git a/test/editscript/core_test.cljc b/test/editscript/core_test.cljc index b561bb5..e85ccc4 100644 --- a/test/editscript/core_test.cljc +++ b/test/editscript/core_test.cljc @@ -230,17 +230,17 @@ ;; sample data tests (def data1 (-> "resources/drawing1.edn" - #?(:default slurp :cljs com/vslurp) - #?(:default read-string :cljs reader/read-string))) + #?(:cljs com/vslurp :default slurp) + #?(:cljs reader/read-string :default read-string))) (def data2 (-> "resources/drawing2.edn" - #?(:default slurp :cljs com/vslurp) - #?(:default read-string :cljs reader/read-string))) + #?(:cljs com/vslurp :default slurp) + #?(:cljs reader/read-string :default read-string))) (def data3 (-> "resources/drawing3.edn" - #?(:default slurp :cljs com/vslurp) - #?(:default read-string :cljs reader/read-string))) + #?(:cljs com/vslurp :default slurp) + #?(:cljs reader/read-string :default read-string))) (def data4 (-> "resources/drawing4.edn" - #?(:default slurp :cljs com/vslurp) - #?(:default read-string :cljs reader/read-string))) + #?(:cljs com/vslurp :default slurp) + #?(:cljs reader/read-string :default read-string))) (deftest drawing-sample-test (testing "A sample JSON data of a drawing program from https://github.com/justsml/json-diff-performance, converted to edn using https://github.com/peterschwarz/json-to-edn"