Refactor example verification duplication

This commit is contained in:
Markus Schirp 2018-12-01 22:44:37 +00:00
parent 83e2597a17
commit bfd41e6948

View file

@ -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