From 4ae5081b7b005fcef00166045fe4dd7890c74902 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 16 Oct 2012 00:31:20 +0000 Subject: * test/ruby/test_regexp.rb (TextRegexp#test_raw_hyphen_and_tk_char_type_after_range): ignoring warnings are already set in setup method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_regexp.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'test') 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 -- cgit v1.2.3