diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-13 05:22:40 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-13 05:22:40 +0000 |
commit | da923d2b1f6de3ba2947c83cf89c6affd85cc0d9 (patch) | |
tree | 10a7c163d8b36e5b2e035b73eb47a2627f7ae5bd | |
parent | 1c629eff858830131539a5abab1717d93e029439 (diff) | |
download | ruby-da923d2b1f6de3ba2947c83cf89c6affd85cc0d9.tar.gz |
* lib/test/unit.rb (Test::Unit::GlobOption#non_options): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/test/unit.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Jun 13 14:17:00 2011 Kenta Murata <mrkn@mrkn.jp> + + * lib/test/unit.rb (Test::Unit::GlobOption#non_options): fix typo. + Mon Jun 13 13:04:20 2011 Martin Bosslet <Martin.Bosslet@googlemail.com> * ext/openssl/ossl_digest.c: fix error for digests that have no oid diff --git a/lib/test/unit.rb b/lib/test/unit.rb index 186545152d..72d403417f 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -143,7 +143,7 @@ module Test end files.map! {|f| f = f.tr(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR - ((paths if /\A\.\.?(?:\z|\/)/ !~ f) | [nil]).any? do |prefix| + ((paths if /\A\.\.?(?:\z|\/)/ !~ f) || [nil]).any? do |prefix| if prefix path = f.empty? ? prefix : "#{prefix}/#{f}" else |