lib/mutant/matcher/method/metaclass.rb in mutant-0.11.28 vs lib/mutant/matcher/method/metaclass.rb in mutant-0.11.29
- old
+ new
@@ -60,10 +60,10 @@
end
end
def sclass_const_name?(node)
name = node.children.fetch(CONST_NAME_INDEX)
- name.to_s.eql?(context.unqualified_name)
+ name.to_s.eql?(scope.unqualified_name)
end
end # Evaluator
private_constant(*constants(false))