[前][次][番号順一覧][スレッド一覧]

ruby-changes:33929

From: nobu <ko1@a...>
Date: Mon, 19 May 2014 08:49:06 +0900 (JST)
Subject: [ruby-changes:33929] nobu:r46010 (trunk): envutil.rb: fix argument

nobu	2014-05-19 08:49:03 +0900 (Mon, 19 May 2014)

  New Revision: 46010

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=46010

  Log:
    envutil.rb: fix argument
    
    * test/ruby/envutil.rb (assert_separately): fix missing `message`
      argument to FailDesc.

  Modified files:
    trunk/test/ruby/envutil.rb
Index: test/ruby/envutil.rb
===================================================================
--- test/ruby/envutil.rb	(revision 46009)
+++ test/ruby/envutil.rb	(revision 46010)
@@ -361,7 +361,7 @@ eom https://github.com/ruby/ruby/blob/trunk/test/ruby/envutil.rb#L361
         args.insert((Hash === args.first ? 1 : 0), "--disable=gems", *$:.map {|l| "-I#{l}"})
         stdout, stderr, status = EnvUtil.invoke_ruby(args, src, true, true, **opt)
         abort = status.coredump? || (status.signaled? && ABORT_SIGNALS.include?(status.termsig))
-        assert(!abort, FailDesc[status, stderr])
+        assert(!abort, FailDesc[status, nil, stderr])
         self._assertions += stdout[/^assertions=(\d+)/, 1].to_i
         begin
           res = Marshal.load(stdout.unpack("m")[0])

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]