aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-11 08:27:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-11 08:27:17 +0000
commit45763da61e1d1beed462f0833e5ea2c75ea2b001 (patch)
tree77d4400e51ea2e4fab40e5f6462790207905d7a4 /test/lib
parenta2cba4c9c8abc53d50d6de329238c1d4df5b4e20 (diff)
downloadruby-45763da61e1d1beed462f0833e5ea2c75ea2b001.tar.gz
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
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/test/unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb
index 72d4ba60a7..c5dd29b0cf 100644
--- a/test/lib/test/unit.rb
+++ b/test/lib/test/unit.rb
@@ -887,7 +887,7 @@ module Test
nil
else
instance ||= new({})
- instance.instance_eval(src)
+ instance.instance_eval(src, path)
end
end
instance