diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/ruby/test_regexp.rb | 7 |
2 files changed, 7 insertions, 6 deletions
@@ -1,3 +1,9 @@ +Tue Oct 16 09:30:30 2012 NAKAMURA Usaku <usa@ruby-lang.org> + + * 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@atdot.net> * vm_insnhelper.c (VM_CALLEE_SETUP_ARG): fix wrong condition. diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index 5f07fc4fc1..781e8e11c5 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -914,11 +914,6 @@ class TestRegexp < Test::Unit::TestCase 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 |