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
@ -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…
x
Reference in New Issue
Block a user