aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-14 12:59:45 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-14 12:59:45 +0000
commit7c5105c1202ead44c79786af607740d4aeb8d412 (patch)
tree9210f8e0c72f4acd57d13cdd15097234efdc4702
parent3fbc62445e7637ff81fa42c6b20f43b9d9607709 (diff)
downloadruby-7c5105c1202ead44c79786af607740d4aeb8d412.tar.gz
* test/ruby/test_io_m17n.rb
(TestIO_M17N#test_{read_with_binmode_and_get[cs]}): only for Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 {