aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_versions.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_versions.rb b/Library/Homebrew/test/test_versions.rb
index 8010cf1c5..5e8783232 100644
--- a/Library/Homebrew/test/test_versions.rb
+++ b/Library/Homebrew/test/test_versions.rb
@@ -98,6 +98,11 @@ class VersionTests < Test::Unit::TestCase
check "http://example.com/foo_bar-1.21.tar.gz", '1.21'
end
+ def test_version_sourceforge_download
+ check "http://sourceforge.net/foo_bar-1.21.tar.gz/download", '1.21'
+ check "http://sf.net/foo_bar-1.21.tar.gz/download", '1.21'
+ end
+
def test_version_github
check "http://github.com/lloyd/yajl/tarball/1.0.5", '1.0.5'
end