aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2013-02-11 20:50:52 -0600
committerJack Nagel2013-02-11 20:52:07 -0600
commit248891fde17ec66751b460dfc2137ba9fb819395 (patch)
tree3836ffc4bcb827a2b29b3fd205ce06d95e1613a3 /Library/Homebrew/test
parente22af691494137a6a362abf38f37bcee062b25e7 (diff)
downloadbrew-248891fde17ec66751b460dfc2137ba9fb819395.tar.bz2
Avoid nil in URL specs
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_formula.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb
index 0836dddd9..50176a967 100644
--- a/Library/Homebrew/test/test_formula.rb
+++ b/Library/Homebrew/test/test_formula.rb
@@ -82,9 +82,9 @@ class FormulaTests < Test::Unit::TestCase
assert_equal 'file:///foo.com/testball-0.2.tbz', f.devel.url
assert_equal 'https://github.com/mxcl/homebrew.git', f.head.url
- assert_nil f.stable.specs
- assert_nil f.bottle.specs
- assert_nil f.devel.specs
+ assert_empty f.stable.specs
+ assert_empty f.bottle.specs
+ assert_empty f.devel.specs
assert_equal({ :tag => 'foo' }, f.head.specs)
assert_equal CurlDownloadStrategy, f.stable.download_strategy