summaryrefslogtreecommitdiff
path: root/test/ruby/test_io_m17n.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-24 04:00:44 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-24 04:00:44 +0000
commitac2683c80978dabb24ec367141427c62f1dc5a20 (patch)
treecc3300eb99462be85aac63d37a3bab514b0f0a79 /test/ruby/test_io_m17n.rb
parentb9e480613327dd4c585e7e05172d59340849d423 (diff)
Additional test for r34358.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io_m17n.rb')
-rw-r--r--test/ruby/test_io_m17n.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb
index f1a736735c1..737fae479b2 100644
--- a/test/ruby/test_io_m17n.rb
+++ b/test/ruby/test_io_m17n.rb
@@ -1044,6 +1044,7 @@ EOT
}
assert_nothing_raised {
open(__FILE__, "r", binmode: true) {|f|
+ assert_equal(Encoding::ASCII_8BIT, f.external_encoding)
f.set_encoding("iso-2022-jp")
}
}