From 58fe675d977aef840e61c91ba545b66db7fcbe0c Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Tue, 15 Dec 2020 12:44:06 -0800 Subject: [PATCH] Test HOMEBREW_LIBRARY=HOMEBREW_REPOSITORY/Library --- Library/Homebrew/test/global_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/test/global_spec.rb b/Library/Homebrew/test/global_spec.rb index 6c34ca8838..914cb3cf84 100644 --- a/Library/Homebrew/test/global_spec.rb +++ b/Library/Homebrew/test/global_spec.rb @@ -8,4 +8,8 @@ describe "brew", :integration_test do .and not_to_output.to_stderr .and be_a_success end + + it "ensures that HOMEBREW_LIBRARY=HOMEBREW_REPOSITORY/Library" do + expect(HOMEBREW_LIBRARY.to_s).to eq("#{HOMEBREW_REPOSITORY}/Library") + end end