aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
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