Whitespace
This commit is contained in:
parent
ee940f1c21
commit
774c7aa50e
1 changed files with 3 additions and 2 deletions
|
@ -47,8 +47,9 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def match?(node)
|
||||
location = node.location || return
|
||||
expression = location.expression || return
|
||||
location = node.location || return
|
||||
expression = location.expression || return
|
||||
|
||||
expression.line.equal?(source_line) &&
|
||||
node.type.equal?(:def) &&
|
||||
node.children[NAME_INDEX].equal?(method_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue