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

Fix re-complication of initial state #418

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

timstobal
Copy link
Contributor

This PR fixes an issue where, after the initial state in a state machine test has been simplified, it will not be re-complicated when this results in a successful run. As a result, when this situation is encountered, the test will report a "minimal failing input" that is actually a successful input - the input that is just barely simpler than the minimal failing input.

I've also added a proptest that detects the failure, along with two regression seeds, for good measure.

Copy link
Member

@matthew-russo matthew-russo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix!

@rexmas rexmas merged commit c1bf635 into proptest-rs:master Feb 5, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

4 participants