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

ruby-changes:37767

From: shugo <ko1@a...>
Date: Thu, 5 Mar 2015 11:20:39 +0900 (JST)
Subject: [ruby-changes:37767] shugo:r49848 (trunk): * test/ruby/test_refinement.rb: There is no need anymore to supress

shugo	2015-03-05 11:20:25 +0900 (Thu, 05 Mar 2015)

  New Revision: 49848

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

  Log:
    * test/ruby/test_refinement.rb: There is no need anymore to supress
      warnings.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_refinement.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49847)
+++ ChangeLog	(revision 49848)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Mar  5 11:16:55 2015  Shugo Maeda  <shugo@r...>
+
+	* test/ruby/test_refinement.rb: There is no need anymore to supress
+	  warnings.
+
 Thu Mar  5 08:31:02 2015  Rei Odaira  <Rei.Odaira@g...>
 
 	* random.c (random_raw_seed): Avoid calling fill_random_bytes()
Index: test/ruby/test_refinement.rb
===================================================================
--- test/ruby/test_refinement.rb	(revision 49847)
+++ test/ruby/test_refinement.rb	(revision 49848)
@@ -1,12 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_refinement.rb#L1
 require 'test/unit'
 
-# to supress warnings for future calls of Module#refine
-EnvUtil.suppress_warning do
-  Module.new {
-    refine(Object) {}
-  }
-end
-
 class TestRefinement < Test::Unit::TestCase
   class Foo
     def x

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

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