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:
parent
b9e4806133
commit
ac2683c809
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue