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

ruby-changes:3485

From: ko1@a...
Date: 10 Jan 2008 19:36:25 +0900
Subject: [ruby-changes:3485] akr - Ruby:r14978 (trunk): make a test locale independent.

akr	2008-01-10 19:35:52 +0900 (Thu, 10 Jan 2008)

  New Revision: 14978

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

  Log:
    make a test locale independent.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_io.rb?r1=14978&r2=14977&diff_format=u

Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 14977)
+++ test/ruby/test_io.rb	(revision 14978)
@@ -20,7 +20,7 @@
     r.close
 
     # "\377"
-    r, w = IO.pipe
+    r, w = IO.pipe('ascii-8bit')
     w.print "\377xyz"
     w.close
     r.binmode

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

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