Refactor example verification duplication
This commit is contained in:
parent
83e2597a17
commit
bfd41e6948
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module Mutant
|
|||
#
|
||||
# @return [Boolean]
|
||||
def success?
|
||||
missing.empty? && unexpected.empty? && no_diffs.empty?
|
||||
[missing, unexpected, no_diffs].all?(&:empty?)
|
||||
end
|
||||
|
||||
# Error report
|
||||
|
|
Loading…
Add table
Reference in a new issue