Skip to content

Commit

Permalink
Merge pull request #27 from williammizuta/issue-22-fix-cljs
Browse files Browse the repository at this point in the history
Fix issue 22
  • Loading branch information
w01fe authored Apr 29, 2022
2 parents 3cc5e50 + a5dafaa commit 499db79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:url "http://www.eclipse.org/legal/epl-v10.html"}

:dependencies [[org.clojure/test.check "0.9.0"]
[prismatic/schema "1.1.11"]]
[prismatic/schema "1.2.1"]]

:profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.10.520"]]
Expand Down
2 changes: 1 addition & 1 deletion src/schema_generators/generators.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
(composite-generator [s params]
(generators/such-that
(complement (.-pre ^schema.spec.collection.CollectionSpec s))
(generators/fmap (:constructor s) (elements-generator (:elements s) params))))
(generators/fmap (:konstructor s) (elements-generator (:elements s) params))))

schema.spec.leaf.LeafSpec
(composite-generator [s params]
Expand Down

0 comments on commit 499db79

Please sign in to comment.