Skip to content

Commit 11f23ff

Browse files
committed
.
1 parent 2a48bab commit 11f23ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/malli/transform_test.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
(is (m/-interceptor? (mt/-interceptor inc nil nil nil nil)))
1212

1313
(are [?interceptor expected]
14-
(= (m/map->Interceptor expected) (mt/-interceptor ?interceptor nil nil nil nil))
14+
(= (m/-interceptor expected) (mt/-interceptor ?interceptor nil nil nil nil))
1515

1616
inc {:enter inc}
1717
{:enter inc} {:enter inc}
@@ -23,7 +23,7 @@
2323
(let [?interceptor {:compile (constantly {:compile (constantly inc)})}]
2424
(testing "shallow compilation succeeds"
2525
(binding [mt/*max-compile-depth* 2]
26-
(is (= (m/map->Interceptor {:enter inc}) (mt/-interceptor ?interceptor nil nil nil nil)))))
26+
(is (= (m/-interceptor {:enter inc}) (mt/-interceptor ?interceptor nil nil nil nil)))))
2727
(testing "too deep compilation fails"
2828
(binding [mt/*max-compile-depth* 1]
2929
(is (thrown? #?(:clj Exception, :cljs js/Error) (mt/-interceptor ?interceptor nil nil nil nil)))))))

0 commit comments

Comments
 (0)