summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")
}
}