Skip to content

Commit

Permalink
Fix test relying on default
Browse files Browse the repository at this point in the history
  • Loading branch information
markusschlegel committed Aug 22, 2024
1 parent d257b24 commit a5bd457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/active/clojure/lens_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
(lens-laws-hold l [[4 3 2 1 0] {1 "a" 42 "b"} nil] [1 2 3] [4 5 'dflt])
(is (= [2 "b" 'dflt]
(lens/yank [[4 3 2 1 0] {1 "a" 42 "b"} nil] l)))
(is (= [[4 3 nil 1 0] {1 "a" 42 42} nil]
(is (= [[4 3 nil 1 0] {1 "a" 42 42} 'dflt]
(lens/shove [[4 3 2 1 0] {1 "a" 42 "b"} 'dflt] l [nil 42 'dflt])))))

(deftest mapl
Expand Down

0 comments on commit a5bd457

Please sign in to comment.