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

Provide alternative to proptest! macro to enable use of rustfmt #149

Open
lpil opened this issue Jun 9, 2019 · 0 comments
Open

Provide alternative to proptest! macro to enable use of rustfmt #149

lpil opened this issue Jun 9, 2019 · 0 comments

Comments

@lpil
Copy link

lpil commented Jun 9, 2019

rustfmt is unable to format inside macros such as proptest!, so proptest test code has to be formatted manually, introducing irregularity and further burden on the programmer.

It would be great to have an alternative way to use proptest that didn't use this macro, possibly similar to quickcheck's annotation: https://github.com/BurntSushi/quickcheck#the-quickcheck-attribute-requires-rust-130-or-later

Thanks,
Louis

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