diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-04 01:53:29 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-04 01:53:29 +0000 |
| commit | 72bddffb801525ce5f98f6d11918d85198bfc6df (patch) | |
| tree | b1a842a98d17f4ea337e8563991bd63084cc390e /bootstraptest | |
| parent | b3b28ae106010e247a371a095141b6ccff2ae7d6 (diff) | |
| download | ruby-72bddffb801525ce5f98f6d11918d85198bfc6df.tar.gz ruby-72bddffb801525ce5f98f6d11918d85198bfc6df.tar.xz ruby-72bddffb801525ce5f98f6d11918d85198bfc6df.zip | |
add test for Regexp.new("\0").
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
| -rw-r--r-- | bootstraptest/test_knownbug.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 017382b41..411bd64f9 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -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") +} |
