Skip to content

Commit cb9f987

Browse files
committed
change strip namespace to manipulate
1 parent 120e9d7 commit cb9f987

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lambdaisland/deep_diff2/strip.cljc renamed to src/lambdaisland/deep_diff2/manipulate.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(ns lambdaisland.deep-diff2.strip
1+
(ns lambdaisland.deep-diff2.manipulate
22
"Provide API for manipulate the diff structure data "
33
(:require [clojure.walk :refer [postwalk]]
44
#?(:clj [lambdaisland.deep-diff2.diff-impl]

test/lambdaisland/deep_diff2/strip_test.cljc renamed to test/lambdaisland/deep_diff2/manipulate_test.cljc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
(ns lambdaisland.deep-diff2.strip-test
1+
(ns lambdaisland.deep-diff2.manipulate-test
22
(:require [clojure.test :refer [deftest testing is are]]
33
[lambdaisland.deep-diff2.diff-impl :as diff]
4-
[lambdaisland.deep-diff2.strip :as strip]
4+
[lambdaisland.deep-diff2.manipulate :as manipulate]
55
[lambdaisland.deep-diff2 :as ddiff]))
66

77
(deftest strip-test
@@ -17,7 +17,7 @@
1717
(testing "removing the same items"
1818
(let [x {:a 1 :b 2 :d {:e 1} :g [:e [:k 14 :g 15]]}
1919
y {:a 1 :c 3 :d {:e 15} :g [:e [:k 14 :g 15]]}]
20-
(is (= (strip/remove-unchanged (ddiff/diff x y))
20+
(is (= (manipulate/remove-unchanged (ddiff/diff x y))
2121
{(diff/->Deletion :b) 2
2222
:d {:e (diff/->Mismatch 1 15)}
2323
(diff/->Insertion :c) 3})))))

0 commit comments

Comments
 (0)