[前][次][番号順一覧][スレッド一覧]

ruby-changes:42466

From: nobu <ko1@a...>
Date: Mon, 11 Apr 2016 16:30:40 +0900 (JST)
Subject: [ruby-changes:42466] nobu:r54540 (trunk): test/unit.rb: show warning locations

nobu	2016-04-11 17:27:17 +0900 (Mon, 11 Apr 2016)

  New Revision: 54540

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54540

  Log:
    test/unit.rb: show warning locations
    
    * test/lib/test/unit.rb (ExcludedMethods.load): supply the path to
      show the warning locations.

  Modified files:
    trunk/test/lib/test/unit.rb
Index: test/lib/test/unit.rb
===================================================================
--- test/lib/test/unit.rb	(revision 54539)
+++ test/lib/test/unit.rb	(revision 54540)
@@ -887,7 +887,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit.rb#L887
               nil
             else
               instance ||= new({})
-              instance.instance_eval(src)
+              instance.instance_eval(src, path)
             end
           end
           instance

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]