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

ruby-changes:5097

From: akr <ko1@a...>
Date: Mon, 26 May 2008 01:19:20 +0900 (JST)
Subject: [ruby-changes:5097] Ruby:r16592 (trunk): * test/ruby/envutil.rb (assert_normal_exit): signal description

akr	2008-05-26 01:19:05 +0900 (Mon, 26 May 2008)

  New Revision: 16592

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/envutil.rb

  Log:
    * test/ruby/envutil.rb (assert_normal_exit): signal description
      refined.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16592&r2=16591&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/envutil.rb?r1=16592&r2=16591&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 16591)
+++ ChangeLog	(revision 16592)
@@ -1,3 +1,8 @@
+Mon May 26 01:17:54 2008  Tanaka Akira  <akr@f...>
+
+	* test/ruby/envutil.rb (assert_normal_exit): signal description
+	  refined.
+
 Mon May 26 00:52:52 2008  Akinori MUSHA  <knu@i...>
 
 	* hash.c (env_each_key, env_each_value, env_reject_bang)
Index: test/ruby/envutil.rb
===================================================================
--- test/ruby/envutil.rb	(revision 16591)
+++ test/ruby/envutil.rb	(revision 16592)
@@ -92,10 +92,12 @@
             sigdesc = "SIG#{signame} (#{sigdesc})"
           end
           if msg.empty?
-            full_message = build_message(message, "killed by ?", sigdesc)
+            full_message = build_message(message, "killed by ?",
+                                         AssertionMessage::Literal.new(sigdesc))
           else
             msg << "\n" if /\n\z/ !~ msg
-            full_message = build_message(message, "killed by ?\n?", sigdesc,
+            full_message = build_message(message, "killed by ?\n?",
+                                         AssertionMessage::Literal.new(sigdesc),
                                          AssertionMessage::Literal.new(msg.gsub(/^/, '| ')))
           end
         end

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

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