1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

6 commits

Author SHA1 Message Date
nobu
00b4a3f9c4 * test: assert_raises has been deprecated since a long time ago.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24 17:44:39 +00:00
nobu
004d00757a * test/optparse/test_getopts.rb: changed the class name of test case
to get rid of conflict with test_optparse.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-03 23:53:24 +00:00
nobu
3986bdc4a7 * test/optparse/test_getopts.rb: added short and long tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-26 15:20:05 +00:00
nobu
6b55a46114 * test/optparse/test_getopts.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-26 14:59:20 +00:00
nobu
af3da7d124 * lib/optparse.rb (OptionParser::Completion#complete): new parameter
to direct case insensitiveness.

* lib/optparse.rb (OptionParser#order!): ignore case only for long
  option.  [ruby-dev:25048]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-05 10:39:58 +00:00
nobu
4dada1c8a2 * lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse):
do not remove next argument if empty value is placed.

* test/optparse: added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 10:09:58 +00:00