diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-27 01:56:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-27 01:56:43 +0000 |
commit | 0783358dcceabe54c01dc0f96a963d1924f7e706 (patch) | |
tree | 3325ec4c609b42e1e52d2ef7b46dffef380440b8 | |
parent | b3177141bffd8c9362f546767220091402f39607 (diff) | |
download | ruby-0783358dcceabe54c01dc0f96a963d1924f7e706.tar.gz |
test/unit: no newlines to be chomped
* test/lib/test/unit.rb (Test::Unit::StatusLine::Output#print):
matched part never contains a newline to be chomped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/lib/test/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index f9c106f9ed..736f1d268f 100644 --- a/test/lib/test/unit.rb +++ b/test/lib/test/unit.rb @@ -688,7 +688,7 @@ module Test when /\A(.*\#.*) = \z/ runner.new_test($1) when /\A(.* s) = \z/ - runner.add_status(" = "+$1.chomp) + runner.add_status(" = #$1") when /\A\.+\z/ runner.succeed when /\A[EFS]\z/ |