зеркало из https://github.com/github/ruby.git
* lib/test/unit.rb (Test::Unit::Runner::Worker#run): use
File.basename with suffix instead of gsub. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3c969a7c10
Коммит
38cee6b43e
|
@ -1,3 +1,8 @@
|
|||
Mon Jan 2 15:05:09 2012 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||
|
||||
* lib/test/unit.rb (Test::Unit::Runner::Worker#run): use
|
||||
File.basename with suffix instead of gsub.
|
||||
|
||||
Mon Jan 2 14:55:28 2012 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||
|
||||
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): find may
|
||||
|
|
|
@ -266,7 +266,7 @@ module Test
|
|||
end
|
||||
|
||||
def run(task,type)
|
||||
@file = File.basename(task).gsub(/\.rb/,"")
|
||||
@file = File.basename(task, ".rb")
|
||||
@real_file = task
|
||||
begin
|
||||
puts "loadpath #{[Marshal.dump($:-@loadpath)].pack("m").gsub("\n","")}"
|
||||
|
|
Загрузка…
Ссылка в новой задаче