lib/mutant/expression/method.rb in mutant-0.5.25 vs lib/mutant/expression/method.rb in mutant-0.5.26

- old
+ new

@@ -23,10 +23,10 @@ # def matcher(env) methods_matcher = MATCHERS.fetch(scope_symbol).new(env, scope) method = methods_matcher.methods.detect do |meth| meth.name.equal?(method_name) - end or raise NameError, "Cannot find method #{identifier}" + end or raise NameError, "Cannot find method #{method_name}" methods_matcher.matcher.build(env, scope, method) end private