diff options
-rw-r--r-- | bootstraptest/test_knownbug.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 2c60ac4d91..62c0de57fe 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -53,9 +53,15 @@ assert_normal_exit %q{ assert_normal_exit %q{ "abc".gsub(/./, "a" => "z") } + assert_normal_exit %q{ Encoding.compatible?("",0) } + assert_normal_exit %q{ "".center(1, "\x80".force_encoding("utf-8")) }, '[ruby-dev:33807]' + +assert_normal_exit %q{ + ARGF.set_encoding "foo" +} |