mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
e27fbfbc98
commit
d8d41b2380
2 changed files with 5 additions and 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>
|
Tue Dec 16 20:34:44 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/pty/pty.c (getDevice): add nomesg argument.
|
* ext/pty/pty.c (getDevice): add nomesg argument.
|
||||||
|
|
|
@ -32,6 +32,7 @@ module Test
|
||||||
end
|
end
|
||||||
|
|
||||||
files.map! {|f|
|
files.map! {|f|
|
||||||
|
f.gsub!(/#{File::ALT_SEPARATOR}/o, File::SEPARATOR) if File::ALT_SEPARATOR
|
||||||
if File.directory? f
|
if File.directory? f
|
||||||
Dir["#{f}/**/test_*.rb"]
|
Dir["#{f}/**/test_*.rb"]
|
||||||
elsif File.file? f
|
elsif File.file? f
|
||||||
|
|
Loading…
Add table
Reference in a new issue