Skip to content

Commit

Permalink
Additional test for r34358.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Jan 24, 2012
1 parent b9e4806 commit ac2683c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/ruby/test_io_m17n.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand Down

0 comments on commit ac2683c

Please sign in to comment.