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

DeltaDebugger#ddmin does not minimize to empty input #46

Closed
TheSilvus opened this issue Sep 4, 2021 · 1 comment
Closed

DeltaDebugger#ddmin does not minimize to empty input #46

TheSilvus opened this issue Sep 4, 2021 · 1 comment

Comments

@TheSilvus
Copy link

TheSilvus commented Sep 4, 2021

The minimization implementation does not minimize as I would expect if all inputs cause the failure:

def asdf(s):
    assert False
with DeltaDebugger() as dd:
    asdf("test")
print(dd)
@andreas-zeller
Copy link
Member

Thanks! The difference between passing input (here: the empty string) and failing input is normally non-empty, but I have added a check for the case that the empty string already fails (which makes sense as it also discovers internal errors). This is now fixed in the latest git version.

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

2 participants