aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_bucket.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_bucket.rb b/Library/Homebrew/test/test_bucket.rb
index f328dacca..fda9f356f 100644
--- a/Library/Homebrew/test/test_bucket.rb
+++ b/Library/Homebrew/test/test_bucket.rb
@@ -180,6 +180,11 @@ class BeerTasting < Test::Unit::TestCase
assert_equal '.tar.gz', foo1.extname
assert_equal 'foo-0.1', foo1.stem
assert_equal '0.1', foo1.version
+
+ foo1 = HOMEBREW_CACHE/'foo-0.1.cpio.gz'
+ assert_equal '.cpio.gz', foo1.extname
+ assert_equal 'foo-0.1', foo1.stem
+ assert_equal '0.1', foo1.version
end
class MockMockFormula < Struct.new(:name); end