aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2014-11-28 15:02:42 +0000
committerMike McQuaid2014-11-30 17:59:02 +0000
commit52cda8fd8040cbc9588ae64243af924f9fd15be4 (patch)
tree4f8fe9f4f5c6a40e7e61f857e29c557ed8a48508 /Library/Homebrew/test
parent264886cfc9cf0b2058827fb5b70b2731aed2b59f (diff)
downloadbrew-52cda8fd8040cbc9588ae64243af924f9fd15be4.tar.bz2
Allow searching/installing Homebrew Casks.
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>
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_ARGV.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_ARGV.rb b/Library/Homebrew/test/test_ARGV.rb
index fe50621cd..e02c7040e 100644
--- a/Library/Homebrew/test/test_ARGV.rb
+++ b/Library/Homebrew/test/test_ARGV.rb
@@ -11,6 +11,11 @@ class ArgvExtensionTests < Homebrew::TestCase
assert_raises(FormulaUnavailableError) { @argv.formulae }
end
+ def test_argv_casks
+ @argv.unshift 'mxcl'
+ assert_equal [], @argv.casks
+ end
+
def test_argv_kegs
keg = HOMEBREW_CELLAR + "mxcl/10.0"
keg.mkpath