From 5913c969f14d27807e785c119eb484830f7bb697 Mon Sep 17 00:00:00 2001 From: eban Date: Fri, 19 Nov 2004 15:09:13 +0000 Subject: [PATCH] * lib/test/unit/collector/dir.rb: typo fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/test/unit/collector/dir.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test/unit/collector/dir.rb b/lib/test/unit/collector/dir.rb index 448989e5e6..bf78f3a50b 100644 --- a/lib/test/unit/collector/dir.rb +++ b/lib/test/unit/collector/dir.rb @@ -55,7 +55,7 @@ module Test sub_suite = recursive_collect(e_name, already_gathered) sub_suites << sub_suite unless(sub_suite.empty?) else - next if %r(/CVS|~\Z|#\.) =~ e_name + next if %r(/CVS|~\Z|\.\#) =~ e_name next unless /test_/ =~ e_name (next unless(@pattern =~ e_name)) if(@pattern) (next if(@exclude =~ e_name)) if(@exclude)