* test/lib/test/unit.rb: describe !/REGEXP/ in the help message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2016-03-11 17:58:49 +00:00
parent 83e36bb5a6
commit db271576bb
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sat Mar 12 02:44:48 2016 Tanaka Akira <akr@fsij.org>
* test/lib/test/unit.rb: describe !/REGEXP/ in the help message.
Fri Mar 11 17:03:09 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/lib/test/unit.rb (Options#non_options): make regexp name

View File

@ -86,7 +86,7 @@ module Test
self.verbose = options[:verbose]
end
opts.on '-n', '--name PATTERN', "Filter test method names on pattern: /REGEXP/ or STRING" do |a|
opts.on '-n', '--name PATTERN', "Filter test method names on pattern: /REGEXP/, !/REGEXP/ or STRING" do |a|
(options[:filter] ||= []) << a
end