aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMax Howell2012-01-14 03:46:25 +0000
committerMax Howell2012-01-14 03:48:03 +0000
commit9a774ac0a67c81c6e84084dce2c908eafcd521d9 (patch)
tree1e6d297c9a6bdd815e249f8797cf3960fc8ee0b9 /Library/Homebrew/test
parent7962b15a982cef28cf2356fff1f534000fdb333a (diff)
downloadbrew-9a774ac0a67c81c6e84084dce2c908eafcd521d9.tar.bz2
Fix libinet version detection
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_versions.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_versions.rb b/Library/Homebrew/test/test_versions.rb
index 5714c4b66..a86fb46fa 100644
--- a/Library/Homebrew/test/test_versions.rb
+++ b/Library/Homebrew/test/test_versions.rb
@@ -61,6 +61,10 @@ class VersionTests < Test::Unit::TestCase
'9.04'
end
+ def test_new_github_style
+ check "https://github.com/sam-github/libnet/tarball/libnet-1.1.4", "1.1.4"
+ end
+
def test_gloox_beta_style
check "http://camaya.net/download/gloox-1.0-beta7.tar.bz2", '1.0-beta7'
end