test/unit.rb: show warning locations
* test/lib/test/unit.rb (ExcludedMethods.load): supply the path to show the warning locations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ba001b4160
commit
316bb88f5a
@ -887,7 +887,7 @@ module Test
|
|||||||
nil
|
nil
|
||||||
else
|
else
|
||||||
instance ||= new({})
|
instance ||= new({})
|
||||||
instance.instance_eval(src)
|
instance.instance_eval(src, path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
instance
|
instance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user