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:
nobu 2016-04-11 08:27:17 +00:00
parent ba001b4160
commit 316bb88f5a

View File

@ -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