File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,6 @@ jobs:
102
102
uses : DeLaGuardo/setup-clojure@master
103
103
with :
104
104
cli : latest
105
- # bb: latest
106
- - name : Download bb master
107
- run : bash <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install) --version 0.8.157-SNAPSHOT
105
+ bb : latest
108
106
- name : Run tests
109
107
run : bb test-bb
Original file line number Diff line number Diff line change 60
60
(fn [x#] (~c (p# x#) (q# x#))))]
61
61
`(fn ~f [~preds]
62
62
(case (count ~preds)
63
- 0 (constantly true )
63
+ 0 (constantly ( boolean ( ~c )) )
64
64
1 (first ~preds)
65
65
~@cases
66
66
~else)))))
Original file line number Diff line number Diff line change 946
946
(is (true ? ((miu/-some-pred tf) nil )))
947
947
(is (true ? ((miu/-some-pred ft) nil )))
948
948
(is (false ? ((miu/-some-pred ff) nil )))
949
- (is (true ? ((miu/-some-pred tt) nil )))))))
949
+ (is (true ? ((miu/-some-pred tt) nil ))))
950
+ (testing " empty inputs"
951
+ (is (true ? ((miu/-every-pred []) :anything )))
952
+ (is (false ? ((miu/-some-pred []) :anything )))))))
950
953
951
954
(deftest explain-data-test
952
955
(let [schema (m/schema [:map [:a [:vector [:maybe :string ]]]])
You can’t perform that action at this time.
0 commit comments