mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
511e757cd8
commit
7a063b7416
1 changed files with 1 additions and 1 deletions
|
@ -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>)')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue