Simplify differ guard
This commit is contained in:
parent
f633c8d894
commit
1cda3c2d2b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module Mutant
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
def diff
|
def diff
|
||||||
return if diffs.length.equal?(0)
|
return if diffs.empty?
|
||||||
|
|
||||||
minimized_hunks.map do |hunk|
|
minimized_hunks.map do |hunk|
|
||||||
hunk.diff(:unified) << NEWLINE
|
hunk.diff(:unified) << NEWLINE
|
||||||
|
|
Loading…
Reference in a new issue