[前][次][番号順一覧][スレッド一覧]

ruby-changes:7647

From: akr <ko1@a...>
Date: Sat, 6 Sep 2008 07:33:44 +0900 (JST)
Subject: [ruby-changes:7647] Ruby:r19168 (trunk): fix a test for previous commit.

akr	2008-09-06 07:33:38 +0900 (Sat, 06 Sep 2008)

  New Revision: 19168

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19168

  Log:
    fix a test for previous commit.

  Modified files:
    trunk/test/ruby/test_io_m17n.rb

Index: test/ruby/test_io_m17n.rb
===================================================================
--- test/ruby/test_io_m17n.rb	(revision 19167)
+++ test/ruby/test_io_m17n.rb	(revision 19168)
@@ -853,6 +853,7 @@
 
   def test_read_stateful
     with_pipe("euc-jp:iso-2022-jp") {|r, w|
+      r.binmode
       w << "\xA4\xA2"
       w.close
       assert_equal("\e$B$\"\e(B".force_encoding("iso-2022-jp"), r.read)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]