ruby-changes:4053
From: ko1@a...
Date: Mon, 18 Feb 2008 17:16:21 +0900 (JST)
Subject: [ruby-changes:4053] akr - Ruby:r15543 (trunk): add a test.
akr 2008-02-18 17:16:10 +0900 (Mon, 18 Feb 2008)
New Revision: 15543
Modified files:
trunk/bootstraptest/test_knownbug.rb
Log:
add a test.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=15543&r2=15542&diff_format=u
Index: bootstraptest/test_knownbug.rb
===================================================================
--- bootstraptest/test_knownbug.rb (revision 15542)
+++ bootstraptest/test_knownbug.rb (revision 15543)
@@ -53,9 +53,15 @@
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"
+}
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/