aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_ARGV.rb
AgeCommit message (Collapse)Author
2016-02-26ARGV: switch? should only has one dashXu Cheng
If user inputs argument such as `-with-flag`, we can assume it's a bad flag. Closes Homebrew/homebrew#49256 Closes Homebrew/homebrew#49550. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-30Allow searching/installing Homebrew Casks.Mike McQuaid
People want to install things like GIMP using Homebrew so let's make it easier for them to find a decent installation method. Closes Homebrew/homebrew#34496. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-29Add a method for retrieving only flags from ARGVJack Nagel
2014-08-28Implement ARGV.named in terms of ARGV.options_onlyJack Nagel
2014-06-23Fix directory leak in test_argvJack Nagel
2014-06-20Remove ARGV.filter_for_dependenciesJack Nagel
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-06-11Use assert_emptyJack Nagel
2014-03-13Make debug an installer modeJack Nagel
2013-05-20Add test for ARGV.flag?Jack Nagel
2013-04-07Isolate ARGV extension testsJack Nagel
2013-01-22Add tests for ARGV.filter_for_dependenciesJack Nagel
2012-07-04tests: clean up whitespaceJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04Prune some requires from test filesJack Nagel
testing_env already requires utils; set up the ARGV and ENV extensions there as well. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16tests: setup and teardown cleanupsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-06Proper single character switch handlingMax Howell
Includes a test. So now you can do `brew cleanup -ns` and it will work.
2012-02-04Adjust ARGV testsJack Nagel
ARGV.kegs and ARGV.formulae no longer raise exceptions. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2010-04-06Move ARGV tests to separate file.Adam Vandenberg