Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Don't run same test multiple times
Co-authored-by: Alan Szepieniec <[email protected]>
- Loading branch information
3687558
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this a proptest? Within the
panic::catch_unwind(…)
, whyassert!(false, …)
instead ofpanic!(…)
? 🤔3687558
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion:
3687558
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this suggestion you are not verifying that the proptest framework is not swallowing asserts.
3687558
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. Neither comment nor test name suggest that this test is about proptest, which explains (part of) my confusion.