diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-25 16:19:05 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-25 16:19:05 +0000 |
commit | ac6ce30aec2971e7a12e839fe67f7035ddb95be2 (patch) | |
tree | 47e75b1f237d480f0314428b058ad6463e36b87d /test/ruby/envutil.rb | |
parent | 80b0ef570662dce04a72e7d89a7d038a3b75ae63 (diff) | |
download | ruby-ac6ce30aec2971e7a12e839fe67f7035ddb95be2.tar.gz |
* 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
Diffstat (limited to 'test/ruby/envutil.rb')
-rw-r--r-- | test/ruby/envutil.rb | 6 |
1 files changed, 4 insertions, 2 deletions
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 |