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

ruby-changes:21996

From: usa <ko1@a...>
Date: Wed, 14 Dec 2011 22:00:01 +0900 (JST)
Subject: [ruby-changes:21996] usa:r34045 (trunk): * test/ruby/test_io_m17n.rb

usa	2011-12-14 21:59:45 +0900 (Wed, 14 Dec 2011)

  New Revision: 34045

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

  Log:
    * test/ruby/test_io_m17n.rb
      (TestIO_M17N#test_{read_with_binmode_and_get[cs]}): only for Windows.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 34044)
+++ ChangeLog	(revision 34045)
@@ -1,3 +1,8 @@
+Wed Dec 14 21:58:42 2011  NAKAMURA Usaku  <usa@r...>
+
+	* test/ruby/test_io_m17n.rb
+	  (TestIO_M17N#test_{read_with_binmode_and_get[cs]}): only for Windows.
+
 Wed Dec 14 19:57:23 2011  NAKAMURA Usaku  <usa@r...>
 
 	* common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platform
@@ -22,7 +27,7 @@
 	  temporally when the length for IO#read, because IO#read with length
 	  must behave so.
 
-	* test/ruby/test_io_m17n.rb (TestIO_M17N#est_{read_with_length,
+	* test/ruby/test_io_m17n.rb (TestIO_M17N#test_{read_with_length,
 	  read_with_length_binmode,get[cs]_and_read_with_binmode,
 	  read_with_binmode_and_get[cs],read_write_with_binmode}): tests for
 	  above changes.
Index: test/ruby/test_io_m17n.rb
===================================================================
--- test/ruby/test_io_m17n.rb	(revision 34044)
+++ test/ruby/test_io_m17n.rb	(revision 34045)
@@ -2283,7 +2283,7 @@
         assert_equal("\n", f.gets)        # text
       end
     }
-  end
+  end if /mswin|mingw/ =~ RUBY_PLATFORM
 
   def test_read_with_binmode_and_getc
     with_tmpdir {
@@ -2298,7 +2298,7 @@
         assert_equal("\n", f.getc)        # text
       end
     }
-  end
+  end if /mswin|mingw/ =~ RUBY_PLATFORM
 
   def test_read_write_with_binmode
     with_tmpdir {

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

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