add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1d2e4d830c
commit
390adf6112
@ -53,9 +53,15 @@ assert_normal_exit %q{
|
|||||||
assert_normal_exit %q{
|
assert_normal_exit %q{
|
||||||
"abc".gsub(/./, "a" => "z")
|
"abc".gsub(/./, "a" => "z")
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_normal_exit %q{
|
assert_normal_exit %q{
|
||||||
Encoding.compatible?("",0)
|
Encoding.compatible?("",0)
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_normal_exit %q{
|
assert_normal_exit %q{
|
||||||
"".center(1, "\x80".force_encoding("utf-8"))
|
"".center(1, "\x80".force_encoding("utf-8"))
|
||||||
}, '[ruby-dev:33807]'
|
}, '[ruby-dev:33807]'
|
||||||
|
|
||||||
|
assert_normal_exit %q{
|
||||||
|
ARGF.set_encoding "foo"
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user