diff options
| author | Dominyk Tiller | 2016-08-30 21:01:45 +0100 |
|---|---|---|
| committer | GitHub | 2016-08-30 21:01:45 +0100 |
| commit | 1b6908f41e874040d29e7c698b7dd83b037bc61d (patch) | |
| tree | 1f2a2b32a385f197c5436bdf869c629f953a52cb /Library/Homebrew/test | |
| parent | 8bf787c94d77cc55955949076cc0d77e9b13c76d (diff) | |
| parent | 4072628a80568ec7d945548c14a67593427b997c (diff) | |
| download | brew-1b6908f41e874040d29e7c698b7dd83b037bc61d.tar.bz2 | |
Merge pull request #832 from DomT4/bintr@y
bottles: translate foo@1.2 to fooAT1.2
Diffstat (limited to 'Library/Homebrew/test')
| -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 |
