diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-16 13:03:49 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-16 13:03:49 +0000 |
commit | d8d41b2380e897fc9660f0ecb2b0a0497528ff01 (patch) | |
tree | 42e3e3b9fb06fbac420ba563a25ca6b5a415c837 | |
parent | e27fbfbc9809f473d5f681be92328b49a8cce5ec (diff) | |
download | ruby-d8d41b2380e897fc9660f0ecb2b0a0497528ff01.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/test/unit.rb | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Tue Dec 16 21:59:29 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support. + Tue Dec 16 20:34:44 2008 Tanaka Akira <akr@fsij.org> * 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 |