Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
Reformat to make cljfmt happier
Browse files Browse the repository at this point in the history
  • Loading branch information
lvh committed Jan 18, 2016
1 parent 4b239a1 commit 9b09b32
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/kegan/diff_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@
:changed #{}
:removed #{}}))
(testing "explicit sentinel"
(are [sentinel a b expected]
(= expected
(d/with-sentinel (d/fancy-diff a b) {:sentinel sentinel}))
(are [sentinel a b diff] (-> (d/fancy-diff a b)
(d/with-sentinel {:sentinel sentinel})
(= diff))
nil
{}
{}
Expand All @@ -143,9 +143,9 @@
:changed #{}
:removed #{}}))
(testing "explicit predicate"
(are [pred a b expected]
(= expected
(d/with-sentinel (d/fancy-diff a b) {:path-pred pred}))
(are [pred a b diff] (-> (d/fancy-diff a b)
(d/with-sentinel {:path-pred pred})
(= diff))
(constantly true)
{}
{}
Expand Down

0 comments on commit 9b09b32

Please sign in to comment.