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

BUG: Not shrinking commands themselves #295

Merged
merged 1 commit into from
Jan 27, 2019
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jan 27, 2019

Before this PR, fc.commands was only able to shrink the last command.

In the attached commit I updated the test Should shrink up to the shortest failing commands list so that inc and dec can increase more than ones per command execution. With the current implementation it resulted in a poorly shrunk counterexample:

Should shrink up to the shortest failing commands list

    Expected value to equal:
      "inc[1],check[1]"
    Received:
      "inc[1350995096],check[1]"

@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 97.417% when pulling 33dc9ee on bug/cmds-partial-shrink into 3c1592f on master.

@dubzzz dubzzz merged commit afdfc98 into master Jan 27, 2019
@dubzzz dubzzz deleted the bug/cmds-partial-shrink branch January 27, 2019 22:42
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