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
commit6651fb886fcd7b1003aac7626005fba259988d9c (patch)
tree97e6ad50b0b8fe734866f6fab36da901d88fc8db /Library/Homebrew/test
parent05fa09918b789251b36667986dde6f9dbf36c6af (diff)
downloadhomebrew-6651fb886fcd7b1003aac7626005fba259988d9c.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 #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