mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/test/unit/collector/dir.rb (recursive_collect): r15662 reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9e3e19cd1f
commit
fce76df67c
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Jun 30 22:30:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/test/unit/collector/dir.rb (recursive_collect): r15662 reverted.
|
||||
|
||||
Mon Jun 30 22:27:39 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* ext/stringio/stringio.c (strio_getline): fix for nil and "" as
|
||||
|
|
|
@ -16,7 +16,7 @@ module Test
|
|||
@file = file
|
||||
@object_space = object_space
|
||||
@req = req
|
||||
@pattern = []
|
||||
@pattern = [/\btest_.*\.rb\Z/m]
|
||||
@exclude = []
|
||||
end
|
||||
|
||||
|
@ -64,7 +64,6 @@ module Test
|
|||
sub_suites << sub_suite unless(sub_suite.empty?)
|
||||
else
|
||||
next if /~\z/ =~ e_name or /\A\.\#/ =~ e
|
||||
next unless /\Atest_.*\.rb\z/m =~ e
|
||||
if @pattern and !@pattern.empty?
|
||||
next unless @pattern.any? {|pat| pat =~ e_name}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue