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

ruby-changes:26196

From: nobu <ko1@a...>
Date: Fri, 7 Dec 2012 14:02:30 +0900 (JST)
Subject: [ruby-changes:26196] nobu:r38254 (trunk): * test/ruby/test_refinement.rb: suppress warning.

nobu	2012-12-07 14:02:21 +0900 (Fri, 07 Dec 2012)

  New Revision: 38254

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38254

  Log:
    * test/ruby/test_refinement.rb: suppress warning.

  Modified files:
    trunk/test/ruby/test_refinement.rb

Index: test/ruby/test_refinement.rb
===================================================================
--- test/ruby/test_refinement.rb	(revision 38253)
+++ test/ruby/test_refinement.rb	(revision 38254)
@@ -1,7 +1,7 @@
 require 'test/unit'
 require_relative 'envutil'
 
-require "refinement"
+EnvUtil.suppress_warning {require "refinement"}
 
 class TestRefinement < Test::Unit::TestCase
   class Foo

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

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