Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kolharsam committed May 29, 2020
1 parent 03ff5a7 commit fa854a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/flatland/ordered/map_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,10 @@
(seq o))))))

(deftest print-read-eval-ordered
(is (= (pr-str (eval (read-string "#ordered/map[[:a 1] [:b 2]]"))) "#ordered/map ([:a 1] [:b 2])"))
(is (= (pr-str (eval (read-string "#ordered/map[[1 2] [3 4] [5 6] [1 9] [7 8]]"))) "#ordered/map ([1 9] [3 4] [5 6] [7 8])")))
(is (= (pr-str (eval (read-string "#ordered/map[[:a 1] [:b 2]]")))
"#ordered/map ([:a 1] [:b 2])"))
(is (= (pr-str (eval (read-string "#ordered/map[[1 2] [3 4] [5 6] [1 9] [7 8]]")))
"#ordered/map ([1 9] [3 4] [5 6] [7 8])")))

(deftest compacting
(let [m1 (ordered-map :a 1 :b 2 :c 3)
Expand Down

0 comments on commit fa854a0

Please sign in to comment.