From d8d41b2380e897fc9660f0ecb2b0a0497528ff01 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 16 Dec 2008 13:03:49 +0000 Subject: [PATCH] * lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/test/unit.rb | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index fe2c0688bd..94042faf45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Dec 16 21:59:29 2008 NAKAMURA Usaku + + * lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support. + Tue Dec 16 20:34:44 2008 Tanaka Akira * ext/pty/pty.c (getDevice): add nomesg argument. diff --git a/lib/test/unit.rb b/lib/test/unit.rb index c42631b4be..7362beb889 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -32,6 +32,7 @@ module Test end files.map! {|f| + f.gsub!(/#{File::ALT_SEPARATOR}/o, File::SEPARATOR) if File::ALT_SEPARATOR if File.directory? f Dir["#{f}/**/test_*.rb"] elsif File.file? f