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: Unable to shrink mapped command #261

Merged
merged 1 commit into from
Dec 15, 2018
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Dec 15, 2018

No description provided.

@dubzzz dubzzz merged commit 0d66edf into master Dec 15, 2018
@dubzzz dubzzz deleted the fix/shrink-mapped-cmds branch December 15, 2018 01:27
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.602% when pulling 21864f3 on fix/shrink-mapped-cmds into f9f6f41 on master.

@dubzzz
Copy link
Owner Author

dubzzz commented Dec 18, 2018

Thanks to this commit it is now possible to shrink mapped commands like:

fc.nat().map(v => new MyCommand(v))

Before that commit, the shrinker would not have tried to shrink on the natural number generator - fc.nat.

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.

2 participants