From 316bb88f5af8e5d74fb6fb2241841a717b91f1f9 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 11 Apr 2016 08:27:17 +0000 Subject: 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 --- test/lib/test/unit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3