summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-25 16:19:05 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-25 16:19:05 +0000
commitac6ce30aec2971e7a12e839fe67f7035ddb95be2 (patch)
tree47e75b1f237d480f0314428b058ad6463e36b87d
parent80b0ef570662dce04a72e7d89a7d038a3b75ae63 (diff)
* test/ruby/envutil.rb (assert_normal_exit): signal description
refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--test/ruby/envutil.rb6
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ba988c6fd1..b37451f091 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon May 26 01:17:54 2008 Tanaka Akira <akr@fsij.org>
+
+ * test/ruby/envutil.rb (assert_normal_exit): signal description
+ refined.
+
Mon May 26 00:52:52 2008 Akinori MUSHA <knu@iDaemons.org>
* hash.c (env_each_key, env_each_value, env_reject_bang)
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb
index 910b475232..acaed7710d 100644
--- a/test/ruby/envutil.rb
+++ b/test/ruby/envutil.rb
@@ -92,10 +92,12 @@ module Test
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