-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix match expectation for module method visiblity changes
* Ruby 3.1.3 changed that module inherited methods that underwent visibiltiy changes are now owned by the class. * This makes it impossible for mutant to exclude these methods anymore from the class coverage subjects. * This may actually be preferable for public methods as they form part of the public interface. * Mutant now emits more subjects, eventually users will have to use explicit targeting to cover that "re-appearing" subjects. * As the case to "just" change visibiltiy in module inherited methods is quite rare I expect no significant user experience changes.
- Loading branch information
Showing
3 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters