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 | b2e39291c2f198603e449c6e7b7d6a1b69fac728 (patch) | |
| tree | 42e3e3b9fb06fbac420ba563a25ca6b5a415c837 | |
| parent | 0559b739d2fd3eb5e797974979f949c656094fa8 (diff) | |
| download | ruby-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
| -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 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 |
