diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-16 00:31:20 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-16 00:31:20 +0000 |
commit | 4ae5081b7b005fcef00166045fe4dd7890c74902 (patch) | |
tree | 0bd0915c23e58313d66bfdfdb0dbabc2bfe5822e /test | |
parent | 7c1778d6387c6bf695f87fc718d878eb228b628c (diff) | |
download | ruby-4ae5081b7b005fcef00166045fe4dd7890c74902.tar.gz |
* 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
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_regexp.rb | 7 |
1 files changed, 1 insertions, 6 deletions
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 |