ruby-changes:47010
From: nobu <ko1@a...>
Date: Wed, 21 Jun 2017 10:34:38 +0900 (JST)
Subject: [ruby-changes:47010] nobu:r59125 (trunk): bootstraptest/runner.rb: keyword argument
nobu 2017-06-21 10:34:33 +0900 (Wed, 21 Jun 2017) New Revision: 59125 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59125 Log: bootstraptest/runner.rb: keyword argument Modified files: trunk/bootstraptest/runner.rb Index: bootstraptest/runner.rb =================================================================== --- bootstraptest/runner.rb (revision 59124) +++ bootstraptest/runner.rb (revision 59125) @@ -318,13 +318,10 @@ def assert_valid_syntax(testsrc, message https://github.com/ruby/ruby/blob/trunk/bootstraptest/runner.rb#L318 } end -def assert_normal_exit(testsrc, *rest) +def assert_normal_exit(testsrc, *rest, timeout: nil, **opt) newtest - opt = {} - opt = rest.pop if Hash === rest.last message, ignore_signals = rest message ||= '' - timeout = opt[:timeout] show_progress(message) { faildesc = nil filename = make_srcfile(testsrc) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/