diff options
| author | Dominyk Tiller | 2016-08-29 19:47:54 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2016-08-29 19:48:34 +0100 |
| commit | 4072628a80568ec7d945548c14a67593427b997c (patch) | |
| tree | 3b49b35acc7a65cc6c5642f0e2e16d1de0058c13 /Library/Homebrew/test/test_utils.rb | |
| parent | d3b6a7a763c3188c7d63b569f8fdcfdecc72fc3c (diff) | |
| download | brew-4072628a80568ec7d945548c14a67593427b997c.tar.bz2 | |
test_utils: add Bottles::Bintray tests
Diffstat (limited to 'Library/Homebrew/test/test_utils.rb')
| -rw-r--r-- | Library/Homebrew/test/test_utils.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_utils.rb b/Library/Homebrew/test/test_utils.rb index 9b55965b5..9fd6f65ef 100644 --- a/Library/Homebrew/test/test_utils.rb +++ b/Library/Homebrew/test/test_utils.rb @@ -244,4 +244,13 @@ class UtilTests < Homebrew::TestCase assert_match "homebrew/homebrew-core", e.message assert_match "homebrew/core", e.message end + + def test_bottles_bintray + assert_equal "openssl:1.1", Utils::Bottles::Bintray.package("openssl@1.1") + assert_equal "gtkx", Utils::Bottles::Bintray.package("gtk+") + assert_equal "llvm", Utils::Bottles::Bintray.package("llvm") + + tap = Tap.new("homebrew", "bintray-test") + assert_equal "bottles-bintray-test", Utils::Bottles::Bintray.repository(tap) + end end |
