diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-18 08:16:10 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-18 08:16:10 +0000 |
commit | 84bc77ed0ac6461963bee646f5adc4b75895a8ac (patch) | |
tree | 6b76e2c7fae5bad8920e70a07189d686186ca71e /bootstraptest | |
parent | 350c700c98ea7633693e1ef3320cc545ab60258b (diff) | |
download | ruby-84bc77ed0ac6461963bee646f5adc4b75895a8ac.tar.gz ruby-84bc77ed0ac6461963bee646f5adc4b75895a8ac.tar.xz ruby-84bc77ed0ac6461963bee646f5adc4b75895a8ac.zip |
add a test.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-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 2c60ac4d9..62c0de57f 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" +} |