aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--test/ruby/test_io_m17n.rb4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1df9b97281..6c95bfabf2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Dec 14 21:58:42 2011 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * 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@ruby-lang.org>
* common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platform
@@ -22,7 +27,7 @@ Wed Dec 14 19:22:33 2011 NAKAMURA Usaku <usa@ruby-lang.org>
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.
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb
index b9c88ab647..9adf7c8bcb 100644
--- a/test/ruby/test_io_m17n.rb
+++ b/test/ruby/test_io_m17n.rb
@@ -2283,7 +2283,7 @@ EOT
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 @@ EOT
assert_equal("\n", f.getc) # text
end
}
- end
+ end if /mswin|mingw/ =~ RUBY_PLATFORM
def test_read_write_with_binmode
with_tmpdir {