Skip to content
New issue

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

For simple predicates, expound reports "unknown" spec #20

Closed
bhb opened this issue Aug 29, 2017 · 0 comments
Closed

For simple predicates, expound reports "unknown" spec #20

bhb opened this issue Aug 29, 2017 · 0 comments
Labels

Comments

@bhb
Copy link
Owner

bhb commented Aug 29, 2017

(expound/expound string? 1)

Actual:

-- Spec failed --------------------

  1

should satisfy

  unknown

Expected:

-- Spec failed --------------------

  1

should satisfy

  string?

We are looking just for the predicate, which is unknown in this case. We should look at the :clojure.spec.alpha/spec key (top-level)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant