mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add test for [ruby-dev:24643].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9f5f676d82
commit
1bc4363c5e
2 changed files with 8 additions and 0 deletions
1
MANIFEST
1
MANIFEST
|
@ -927,6 +927,7 @@ test/ruby/test_pipe.rb
|
|||
test/ruby/test_proc.rb
|
||||
test/ruby/test_range.rb
|
||||
test/ruby/test_readpartial.rb
|
||||
test/ruby/test_regexp.rb
|
||||
test/ruby/test_signal.rb
|
||||
test/ruby/test_sprintf.rb
|
||||
test/ruby/test_string.rb
|
||||
|
|
7
test/ruby/test_regexp.rb
Normal file
7
test/ruby/test_regexp.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
require 'test/unit'
|
||||
|
||||
class TestRegexp < Test::Unit::TestCase
|
||||
def test_undefined_bytecode_bug
|
||||
assert_nothing_raised("[ruby-dev:24643]") { /(?:(?:[a]*[a])?b)*a*$/ =~ "aabaaca" }
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue