mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix a test for previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0be34e2a49
commit
7d048a55ee
1 changed files with 1 additions and 0 deletions
|
@ -853,6 +853,7 @@ EOT
|
||||||
|
|
||||||
def test_read_stateful
|
def test_read_stateful
|
||||||
with_pipe("euc-jp:iso-2022-jp") {|r, w|
|
with_pipe("euc-jp:iso-2022-jp") {|r, w|
|
||||||
|
r.binmode
|
||||||
w << "\xA4\xA2"
|
w << "\xA4\xA2"
|
||||||
w.close
|
w.close
|
||||||
assert_equal("\e$B$\"\e(B".force_encoding("iso-2022-jp"), r.read)
|
assert_equal("\e$B$\"\e(B".force_encoding("iso-2022-jp"), r.read)
|
||||||
|
|
Loading…
Add table
Reference in a new issue