* lib/test/unit/ui/console/testrunner.rb (test_started): restore $0
after changing process title. [ruby-talk:97426] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
45c445941b
commit
97a557bdf9
@ -1,3 +1,8 @@
|
|||||||
|
Wed Apr 21 15:56:43 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/test/unit/ui/console/testrunner.rb (test_started): restore $0
|
||||||
|
after changing process title. [ruby-talk:97426]
|
||||||
|
|
||||||
Wed Apr 21 11:45:22 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
Wed Apr 21 11:45:22 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
* process.c: Recover wrongly removed spaces at end of the lines.
|
* process.c: Recover wrongly removed spaces at end of the lines.
|
||||||
|
@ -90,7 +90,8 @@ module Test
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_started(name)
|
def test_started(name)
|
||||||
$0 = $0.sub(/(?:\0.*)?\z/) {"\0"+name}
|
$0 += "\0#{name}"
|
||||||
|
$0.sub!(/\0.*\z/, '')
|
||||||
output_single(name + ": ", VERBOSE)
|
output_single(name + ": ", VERBOSE)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user