-
Notifications
You must be signed in to change notification settings - Fork 406
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
Commands sequence shrinking not working (since scala 2.12 update) #447
Comments
Can confirm that shriking is not occurring for me - I'm trying out the example from 2014 presentation:
This is the output:
The same example from presentation got shrunk to a single command. |
This seems to be linked to implicit resolution rules changes between 2.11 and 2.12. It's fixed by declaring |
I have been investigating the way command failures are reported because it seemed to me that shrinking was not working. I may have spotted a bug introduced with scala 2.12. Here is how to reproduce the behavior I observed:
Apply this diff to be able to see the failure:
In sbt run the following commands and notice the reported
seqcmds
:scala 2.12.6
scala 2.11.12
In 2.11.x sequence has been shrunk to one command whereas in 2.12.x the sequence is left untouched. This may be related to #426 concerns as well.
The text was updated successfully, but these errors were encountered: