We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to generate values for a regular expression schema results in an error using malli version 0.15.0:
(mg/generate [:re #"^[0-9]$"]) Execution error (ExceptionInfo) at malli.core/-exception (core.cljc:136). :test-chuck-not-available
Generating other values works
(mg/generate keyword?) => :hL/-Fy (mg/generate [:enum "a" "b" "c"]) => "a"
The text was updated successfully, but these errors were encountered:
I see from the code itself as well as the README that you need to have com.gfredericks/test.chuck as dependency to enable regex generation.
com.gfredericks/test.chuck
Perhaps the error message could state this instead of just saying :test-chuck-not-available
:test-chuck-not-available
Sorry, something went wrong.
FWIW this regal schema might also be useful, I'm not sure how a regal generator and test.chuck generator compare though: lambdaisland/regal#48
No branches or pull requests
Trying to generate values for a regular expression schema results in an error using malli version 0.15.0:
Generating other values works
The text was updated successfully, but these errors were encountered: