From 879d8aa079e651fa9cd621bc1644c1ca27d69ab0 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 16 Dec 2008 13:43:34 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ lib/test/unit.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c8212712d5..5e30ee2830 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Dec 16 22:42:16 2008 NAKAMURA Usaku + + * lib/test/unit.rb (Test::Unit.setup_argv): sorry, fixed wrong commit. + Tue Dec 16 22:15:17 2008 Yukihiro Matsumoto * lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of): diff --git a/lib/test/unit.rb b/lib/test/unit.rb index 7362beb889..729ddf6adf 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -32,7 +32,7 @@ module Test end 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 Dir["#{f}/**/test_*.rb"] elsif File.file? f