aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_io_m17n.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-30 07:48:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-30 07:48:24 +0000
commit2e9eba44406fe5f62e2f9752fff900818190beba (patch)
treea66cab82ddafaa0e1f0ae2e9f419da2effd05375 /test/ruby/test_io_m17n.rb
parent75b50dbb0059359e6a4d641dd2643b640da5114d (diff)
downloadruby-2e9eba44406fe5f62e2f9752fff900818190beba.tar.gz
test_io.rb: skip method definitions
* test/ruby/{test_io,test_io_m17n}.rb: skip method definitions on unsupported platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io_m17n.rb')
-rw-r--r--test/ruby/test_io_m17n.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_io_m17n.rb b/test/ruby/test_io_m17n.rb
index 734b0172ac..c464bceae0 100644
--- a/test/ruby/test_io_m17n.rb
+++ b/test/ruby/test_io_m17n.rb
@@ -1223,7 +1223,6 @@ EOT
end
def test_stdin_external_encoding_with_reopen
- skip "passing non-stdio fds is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
with_tmpdir {
open("tst", "w+") {|f|
pid = spawn(EnvUtil.rubybin, '-e', <<-'End', 10=>f)
@@ -1239,7 +1238,7 @@ EOT
assert_equal("\u3042".force_encoding("ascii-8bit"), result)
}
}
- end
+ end unless /mswin|mingw/ =~ RUBY_PLATFORM # passing non-stdio fds is not supported
def test_popen_r_enc
IO.popen("#{EnvUtil.rubybin} -e 'putc 255'", "r:ascii-8bit") {|f|