From 6d3b0f7243ae944ec4e9fb3be5d388bc6ea44017 Mon Sep 17 00:00:00 2001 From: yugui Date: Wed, 17 Dec 2008 06:18:29 +0000 Subject: merges r20796 and r20799 from trunk into ruby_1_9_1. * lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++++++ lib/test/unit.rb | 1 + 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 308335af2..00721e9d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Tue Dec 16 22:42:16 2008 NAKAMURA Usaku + + * lib/test/unit.rb (Test::Unit.setup_argv): sorry, fixed wrong commit. + +Tue Dec 16 21:59:29 2008 NAKAMURA Usaku + + * lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support. + Tue Dec 16 20:24:20 2008 Tadayoshi Funaba * lib/date/format.rb (_parse): m17n compliant. diff --git a/lib/test/unit.rb b/lib/test/unit.rb index 4e9c79686..ec248c392 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -32,6 +32,7 @@ module Test end files.map! {|f| + f = f.gsub(Regexp.compile(Regexp.quote(File::ALT_SEPARATOR)), File::SEPARATOR) if File::ALT_SEPARATOR if File.directory? f Dir["#{f}/**/test_*.rb"] elsif File.file? f -- cgit