diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-11 08:27:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-11 08:27:17 +0000 |
commit | 316bb88f5af8e5d74fb6fb2241841a717b91f1f9 (patch) | |
tree | 77d4400e51ea2e4fab40e5f6462790207905d7a4 /test/lib | |
parent | ba001b41607fe49ce378ca3e651c2ceff2da8076 (diff) | |
download | ruby-316bb88f5af8e5d74fb6fb2241841a717b91f1f9.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.rb | 2 |
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 |