diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-02 11:05:07 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-09 17:16:22 +0900 |
| commit | e01e13c23999f0e43d8a0874003c73a1cdd68f1e (patch) | |
| tree | 2a1b010397692d0db959a5fcf77b5c7320f1c68d /test/ruby/test_process.rb | |
| parent | fc0c67deb2195c51661b6c35eb41cfb2cb92e3f8 (diff) | |
Use `assert_ruby_status` if no assertion
Diffstat (limited to 'test/ruby/test_process.rb')
| -rw-r--r-- | test/ruby/test_process.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 857ceab676..b3a88b664c 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1996,7 +1996,7 @@ class TestProcess < Test::Unit::TestCase end def test_popen_reopen - assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}") + assert_ruby_status([], "#{<<~"begin;"}\n#{<<~'end;'}") begin; io = File.open(IO::NULL) io2 = io.dup @@ -2387,7 +2387,7 @@ EOS end def test_deadlock_by_signal_at_forking - assert_separately(%W(- #{RUBY}), <<-INPUT, timeout: 100) + assert_ruby_status(%W(- #{RUBY}), <<-INPUT, timeout: 100) ruby = ARGV.shift GC.start # reduce garbage GC.disable # avoid triggering CoW after forks |
