* 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
This commit is contained in:
usa 2011-12-14 12:59:45 +00:00
parent 3fbc62445e
commit 7c5105c120
2 changed files with 8 additions and 3 deletions

View File

@ -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> Wed Dec 14 19:57:23 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platform * 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 temporally when the length for IO#read, because IO#read with length
must behave so. 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_length_binmode,get[cs]_and_read_with_binmode,
read_with_binmode_and_get[cs],read_write_with_binmode}): tests for read_with_binmode_and_get[cs],read_write_with_binmode}): tests for
above changes. above changes.

View File

@ -2283,7 +2283,7 @@ EOT
assert_equal("\n", f.gets) # text assert_equal("\n", f.gets) # text
end end
} }
end end if /mswin|mingw/ =~ RUBY_PLATFORM
def test_read_with_binmode_and_getc def test_read_with_binmode_and_getc
with_tmpdir { with_tmpdir {
@ -2298,7 +2298,7 @@ EOT
assert_equal("\n", f.getc) # text assert_equal("\n", f.getc) # text
end end
} }
end end if /mswin|mingw/ =~ RUBY_PLATFORM
def test_read_write_with_binmode def test_read_write_with_binmode
with_tmpdir { with_tmpdir {