1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Additional test for r34358.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-01-24 04:00:44 +00:00
parent b9e4806133
commit ac2683c809

View file

@ -1044,6 +1044,7 @@ EOT
} }
assert_nothing_raised { assert_nothing_raised {
open(__FILE__, "r", binmode: true) {|f| open(__FILE__, "r", binmode: true) {|f|
assert_equal(Encoding::ASCII_8BIT, f.external_encoding)
f.set_encoding("iso-2022-jp") f.set_encoding("iso-2022-jp")
} }
} }