aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-18 08:16:10 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-18 08:16:10 +0000
commit390adf6112228a4c32381a4882c8076ff6b44c84 (patch)
tree6b76e2c7fae5bad8920e70a07189d686186ca71e /bootstraptest
parent1d2e4d830c23e3691de9560653c8b86a9d8f1d98 (diff)
downloadruby-390adf6112228a4c32381a4882c8076ff6b44c84.tar.gz
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb6
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"
+}