1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/test/unit.rb (Test::Unit.setup_argv): sorry, fixed wrong commit.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2008-12-16 13:43:34 +00:00
parent 9d049cc729
commit 879d8aa079
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Dec 16 22:42:16 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/test/unit.rb (Test::Unit.setup_argv): sorry, fixed wrong commit.
Tue Dec 16 22:15:17 2008 Yukihiro Matsumoto <matz@ruby-lang.org> Tue Dec 16 22:15:17 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of): * lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of):

View file

@ -32,7 +32,7 @@ module Test
end end
files.map! {|f| files.map! {|f|
f.gsub!(/#{File::ALT_SEPARATOR}/o, File::SEPARATOR) if File::ALT_SEPARATOR f = f.gsub(Regexp.compile(Regexp.quote(File::ALT_SEPARATOR)), File::SEPARATOR) if File::ALT_SEPARATOR
if File.directory? f if File.directory? f
Dir["#{f}/**/test_*.rb"] Dir["#{f}/**/test_*.rb"]
elsif File.file? f elsif File.file? f