1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/open3] Use omit instead of skip for test-unit

https://github.com/ruby/open3/commit/f6ca124b56
This commit is contained in:
Hiroshi SHIBATA 2022-01-11 21:25:17 +09:00
parent 8ccbca2623
commit 236678b823

View file

@ -95,7 +95,7 @@ class TestOpen3 < Test::Unit::TestCase
end
def test_numeric_file_descriptor3
skip "passing FDs bigger than 2 is not supported on Windows" if /mswin|mingw/ =~ RbConfig::CONFIG['host_os']
omit "passing FDs bigger than 2 is not supported on Windows" if /mswin|mingw/ =~ RbConfig::CONFIG['host_os']
with_pipe {|r, w|
Open3.popen3(RUBY, '-e', 'IO.open(3).puts "foo"', 3 => w) {|i,o,e,t|
assert_equal("foo\n", r.gets, "[GH-808] [ruby-core:67347] [Bug #10699]")