зеркало из https://github.com/github/ruby.git
* test/ruby/test_io.rb (test_threaded_flush): test "hi" is not output
twice. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e44f5bcbd9
Коммит
3eabe19ea9
|
@ -1,3 +1,8 @@
|
|||
Tue Aug 17 20:05:29 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* test/ruby/test_io.rb (test_threaded_flush): test "hi" is not output
|
||||
twice.
|
||||
|
||||
Tue Aug 17 15:13:28 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/date.rb: Re-revert the part of r28950.
|
||||
|
|
|
@ -1619,7 +1619,9 @@ End
|
|||
}.gsub(/^\s+/, '')
|
||||
10.times.map do
|
||||
Thread.start do
|
||||
assert_in_out_err([], src, [%q["hi!"]])
|
||||
assert_in_out_err([], src) {|stdout, stderr|
|
||||
assert_no_match(/hi.*hi/, stderr.join)
|
||||
}
|
||||
end
|
||||
end.each {|th| th.join}
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче