mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add test for Regexp.new("\0").
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4cdcfbe2ba
commit
b3ab1dbf34
1 changed files with 4 additions and 0 deletions
|
@ -61,3 +61,7 @@ assert_equal 'ok', %q{
|
|||
assert_equal 'ok', %q{
|
||||
0**-1 == 0 ? :ng : :ok
|
||||
}
|
||||
|
||||
assert_equal '(?-mix:\000)', %q{
|
||||
Regexp.new("\0")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue