summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-16 13:03:49 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-16 13:03:49 +0000
commitb2e39291c2f198603e449c6e7b7d6a1b69fac728 (patch)
tree42e3e3b9fb06fbac420ba563a25ca6b5a415c837 /lib
parent0559b739d2fd3eb5e797974979f949c656094fa8 (diff)
downloadruby-b2e39291c2f198603e449c6e7b7d6a1b69fac728.tar.gz
ruby-b2e39291c2f198603e449c6e7b7d6a1b69fac728.tar.xz
ruby-b2e39291c2f198603e449c6e7b7d6a1b69fac728.zip
* lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/test/unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index c42631b4b..7362beb88 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