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

Allow multiline QuickCheck properties. #188

Open
kindaro opened this issue Feb 19, 2018 · 1 comment
Open

Allow multiline QuickCheck properties. #188

kindaro opened this issue Feb 19, 2018 · 1 comment

Comments

@kindaro
Copy link
Contributor

kindaro commented Feb 19, 2018

Steps to reproduce:

Create a property that spans multiple lines, like this:

-- prop> :{
--      \x -> x == x
-- :}

Expected:

The property will parse and execute correctly, passing the test.

Actual:

### Failure in ... : expression `:{'

<interactive>:106:21: error: parse error on input ‘:’

<interactive>:107:3: error:
    • ‘doctest_prop’ is not in scope at a reify
    • In the untyped splice: $(polyQuickCheck (mkName "doctest_prop"))
Examples: 8  Tried: 8  Errors: 0  Failures: 1
@kindaro
Copy link
Contributor Author

kindaro commented Feb 26, 2018

This is actually a duplicate of #131. I'm sorry. But at least it shows that there's interest.

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

No branches or pull requests

1 participant