Skip to content

Commit

Permalink
Write keyword arguments directly
Browse files Browse the repository at this point in the history
`assert_normal_exit` uses keyword arguments since 2013, commit
05dd6b1.
  • Loading branch information
nobu committed Mar 24, 2023
1 parent 3e7d1cb commit 2759cf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ruby/test_thread_queue.rb
Expand Up @@ -211,9 +211,9 @@ def test_thr_kill
timeout = EnvUtil.apply_timeout_scale(60)
total_count = 250
begin
assert_normal_exit(<<-"_eom", bug5343, **{:timeout => timeout, :chdir=>d})
assert_normal_exit(<<-"_eom", bug5343, timeout: timeout, chdir: d)
#{total_count}.times do |i|
open("test_thr_kill_count", "w") {|f| f.puts i }
File.open("test_thr_kill_count", "w") {|f| f.puts i }
queue = Thread::Queue.new
r, w = IO.pipe
th = Thread.start {
Expand Down

0 comments on commit 2759cf4

Please sign in to comment.