From ac2683c80978dabb24ec367141427c62f1dc5a20 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 24 Jan 2012 04:00:44 +0000 Subject: [PATCH] Additional test for r34358. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io_m17n.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb index f1a736735c1d9b..737fae479b2735 100644 --- a/test/ruby/test_io_m17n.rb +++ b/test/ruby/test_io_m17n.rb @@ -1044,6 +1044,7 @@ def test_set_encoding_binmode } assert_nothing_raised { open(__FILE__, "r", binmode: true) {|f| + assert_equal(Encoding::ASCII_8BIT, f.external_encoding) f.set_encoding("iso-2022-jp") } }