diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-03-07 13:45:38 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-03-08 09:35:25 +0900 |
commit | 21e255913c5d00426bcc4d69e3d444b45635a534 (patch) | |
tree | 18c16aa3546753e947693c31c80af23fd8c421a4 /tool/lib/test/unit | |
parent | c3c18007086df2b126f25483d82d72adafb2da7e (diff) |
[ruby/stringio] Pass IOs as separate list for ruby 2.x
https://github.com/ruby/stringio/commit/74e39858eb
Diffstat (limited to 'tool/lib/test/unit')
-rw-r--r-- | tool/lib/test/unit/core_assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/test/unit/core_assertions.rb b/tool/lib/test/unit/core_assertions.rb index 118c0d111b..c7762f05ab 100644 --- a/tool/lib/test/unit/core_assertions.rb +++ b/tool/lib/test/unit/core_assertions.rb @@ -278,7 +278,7 @@ module Test capture_stdout = false opt[:out] = MiniTest::Unit.output if defined?(MiniTest::Unit) res_p, res_c = IO.pipe - opt[res_c.fileno] = res_c.fileno + opt[:ios] = [res_c] end src = <<eom # -*- coding: #{line += __LINE__; src.encoding}; -*- |