From e0b4599bba6bea744e0e90b7640dcc21d695c434 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Sun, 7 Apr 2019 16:55:34 -0700 Subject: Fix keyword argument separation warnings in test --- test/ruby/test_thread.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby/test_thread.rb') diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 3283e30122..e0efb7b2e0 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -961,7 +961,7 @@ _eom cmd = 'Signal.trap(:INT, "DEFAULT"); pipe=IO.pipe; Thread.start {Thread.pass until Thread.main.stop?; puts; STDOUT.flush}; pipe[0].read' opt = {} opt[:new_pgroup] = true if /mswin|mingw/ =~ RUBY_PLATFORM - s, t, _err = EnvUtil.invoke_ruby(['-e', cmd], "", true, true, opt) do |in_p, out_p, err_p, cpid| + s, t, _err = EnvUtil.invoke_ruby(['-e', cmd], "", true, true, **opt) do |in_p, out_p, err_p, cpid| assert IO.select([out_p], nil, nil, 10), 'subprocess not ready' out_p.gets pid = cpid @@ -1337,7 +1337,7 @@ q.pop # prevent SIGABRT from slow shutdown with MJIT opts[:reprieve] = 3 if RubyVM::MJIT.enabled? - assert_normal_exit(<<-_end, '[Bug #8996]', opts) + assert_normal_exit(<<-_end, '[Bug #8996]', **opts) Thread.report_on_exception = false trap(:TERM){exit} while true -- cgit v1.2.3