aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorZhiming Wang2016-09-23 04:15:47 -0400
committerZhiming Wang2016-09-23 06:23:37 -0400
commit19dcb2cf41ecadc4090390de82b8bb4e0e7e5aac (patch)
tree9e894b7975a7624477b33456ef37dc9884b407b7 /Library/Homebrew
parent58a2ef9b58d90dd831647f1bcc39e8597be5a7b8 (diff)
downloadbrew-19dcb2cf41ecadc4090390de82b8bb4e0e7e5aac.tar.bz2
test_versions: add elasticsearch alpha test case
Diffstat (limited to 'Library/Homebrew')
-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 2a1a33a59..307bf6ead 100644
--- a/Library/Homebrew/test/test_versions.rb
+++ b/Library/Homebrew/test/test_versions.rb
@@ -203,6 +203,10 @@ class VersionParsingTests < Homebrew::TestCase
assert_version_detected "0.7.1", "https://codeload.github.com/gsamokovarov/jump/tar.gz/v0.7.1"
end
+ def test_elasticsearch_alpha_style
+ assert_version_detected "5.0.0-alpha5", "https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/5.0.0-alpha5/elasticsearch-5.0.0-alpha5.tar.gz"
+ end
+
def test_gloox_beta_style
assert_version_detected "1.0-beta7", "http://camaya.net/download/gloox-1.0-beta7.tar.bz2"
end