Add a warning about method subjects that could not be source-located!
This commit is contained in:
parent
6658261686
commit
b66a883b75
1 changed files with 5 additions and 1 deletions
|
@ -22,7 +22,11 @@ module Mutant
|
|||
return to_enum unless block_given?
|
||||
|
||||
unless skip?
|
||||
yield subject if subject
|
||||
if subject
|
||||
yield subject
|
||||
else
|
||||
$stderr.puts "Cannot find definition of: #{identification} in #{source_location.join(':')}"
|
||||
end
|
||||
end
|
||||
|
||||
self
|
||||
|
|
Loading…
Reference in a new issue