зеркало из https://github.com/github/ruby.git
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): use
Regexp conversion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
8b38f8c03e
Коммит
6116dd832c
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Nov 16 11:19:07 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): use
|
||||||
|
Regexp conversion.
|
||||||
|
|
||||||
Tue Nov 16 01:41:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Tue Nov 16 01:41:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* array.c (rb_ary_update): pedantic check to detect
|
* array.c (rb_ary_update): pedantic check to detect
|
||||||
|
|
|
@ -108,9 +108,9 @@ module Test
|
||||||
@to_run.concat(a)
|
@to_run.concat(a)
|
||||||
end
|
end
|
||||||
|
|
||||||
o.on('-p', '--pattern=PATTERN', String,
|
o.on('-p', '--pattern=PATTERN', Regexp,
|
||||||
"Match files to collect against PATTERN.") do |e|
|
"Match files to collect against PATTERN.") do |e|
|
||||||
@pattern = Regexp.new(e.sub(%r{\A/(.*)/\Z}m, '\\1'))
|
@pattern = e
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче