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

ruby-changes:25149

From: usa <ko1@a...>
Date: Tue, 16 Oct 2012 09:31:56 +0900 (JST)
Subject: [ruby-changes:25149] usa:r37201 (trunk): * test/ruby/test_regexp.rb

usa	2012-10-16 09:31:20 +0900 (Tue, 16 Oct 2012)

  New Revision: 37201

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

  Log:
    * test/ruby/test_regexp.rb
      (TextRegexp#test_raw_hyphen_and_tk_char_type_after_range): ignoring
      warnings are already set in setup method.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_regexp.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37200)
+++ ChangeLog	(revision 37201)
@@ -1,3 +1,9 @@
+Tue Oct 16 09:30:30 2012  NAKAMURA Usaku  <usa@r...>
+
+	* test/ruby/test_regexp.rb
+	  (TextRegexp#test_raw_hyphen_and_tk_char_type_after_range): ignoring
+	  warnings are already set in setup method.
+
 Tue Oct 16 06:44:06 2012  Koichi Sasada  <ko1@a...>
 
 	* vm_insnhelper.c (VM_CALLEE_SETUP_ARG): fix wrong condition.
Index: test/ruby/test_regexp.rb
===================================================================
--- test/ruby/test_regexp.rb	(revision 37200)
+++ test/ruby/test_regexp.rb	(revision 37201)
@@ -914,11 +914,6 @@
 
   def test_raw_hyphen_and_tk_char_type_after_range
     bug6853 = '[ruby-core:47115]'
-    begin
-      verbose, $VERBOSE = $VERBOSE, nil
-      check(/[0-1-\s]/, [' ', '-'], [], bug6853)
-    ensure
-      $VERBOSE = verbose
-    end
+    check(/[0-1-\s]/, [' ', '-'], ['2', 'a'], bug6853)
   end
 end

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

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