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

Properties in comments #1

Closed
expipiplus1 opened this issue Oct 17, 2015 · 1 comment
Closed

Properties in comments #1

expipiplus1 opened this issue Oct 17, 2015 · 1 comment

Comments

@expipiplus1
Copy link

If a line in a comment begins with prop_ then defaultMainGenerator will generate invalid code.

Here's a repo demonstrating this https://github.com/expipiplus1/tasty-bug

{-# LANGUAGE TemplateHaskell #-}
import Test.Tasty.TH

{-
prop_foo
-}

main = $(defaultMainGenerator)
@expipiplus1
Copy link
Author

Whoops, duplicate of finnsson#3

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