Correct exception message
This commit is contained in:
parent
2070c8d9d2
commit
c702c030f4
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module Mutant
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue