* test/ruby/test_regexp.rb (TestRegexp#test_parse_kg): suppress

warnings while tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-10-12 10:55:40 +00:00
parent 511e757cd8
commit 7a063b7416

View File

@ -586,7 +586,7 @@ class TestRegexp < Test::Unit::TestCase
failcheck('()\g<-2>')
check(/\A(?<x>.)(?<x>.)\k<x>\z/, %w(aba abb), %w(abc .. ....))
check(/\A(?<x>.)(?<x>.)\k<x>\z/i, %w(aba ABa abb ABb), %w(abc .. ....))
check(/\k\g/, "kg")
check('\k\g', "kg")
failcheck('(.\g<1>)')
failcheck('(.\g<2>)')
failcheck('(?=\g<1>)')