Skip to content

Commit 73ad974

Browse files
author
dnolen
committed
add working (s/cat) test case
1 parent 6b3277b commit 73ad974

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/cljs/cljs/spec_test.cljs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@
133133
c ["s" :k] '{:a "s" :b :k} nil
134134
c ["s" :k 5] ::s/invalid '[{:reason "Extra input", :pred (cat :a string? :b keyword?), :val (5)}]
135135

136-
;; TODO: prevents termination for some reason - David
137-
;(s/cat) nil {} nil
136+
(s/cat) nil {} nil
138137
;(s/cat) [5] ::s/invalid '[{:reason "Extra input", :pred (cat), :val (5), :in [0]}]
139138

140139
either nil ::s/invalid '[{:reason "Insufficient input", :pred (alt :a string? :b keyword?), :val () :via []}]

0 commit comments

Comments
 (0)