ruby-changes:38777
From: nobu <ko1@a...>
Date: Sat, 13 Jun 2015 09:19:41 +0900 (JST)
Subject: [ruby-changes:38777] nobu:r50858 (trunk): envutil.rb: failure description
nobu 2015-06-13 09:19:10 +0900 (Sat, 13 Jun 2015) New Revision: 50858 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50858 Log: envutil.rb: failure description * test/lib/envutil.rb (assert_no_memory_leak): show detail failure description. Modified files: trunk/test/lib/envutil.rb Index: test/lib/envutil.rb =================================================================== --- test/lib/envutil.rb (revision 50857) +++ test/lib/envutil.rb (revision 50858) @@ -493,7 +493,7 @@ eom https://github.com/ruby/ruby/blob/trunk/test/lib/envutil.rb#L493 _, err, status = EnvUtil.invoke_ruby(args, cmd, true, true, **opt) before = err.sub!(/^#{token_re}START=(\{.*\})\n/, '') && Memory::Status.parse($1) after = err.sub!(/^#{token_re}FINAL=(\{.*\})\n/, '') && Memory::Status.parse($1) - assert_equal([true, ""], [status.success?, err], message) + assert(status.success?, FailDesc[status, message, err]) ([:size, (rss && :rss)] & after.members).each do |n| b = before[n] a = after[n] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/