From 45d8f3789f3710e31a3bf2777a282f1671b02213 Mon Sep 17 00:00:00 2001 From: Lukas Oberhuber Date: Thu, 4 Aug 2022 18:11:35 -0700 Subject: [PATCH] Test of set_debug_symbols --- Library/Homebrew/test/ENV_spec.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Library/Homebrew/test/ENV_spec.rb b/Library/Homebrew/test/ENV_spec.rb index c09a50bca6..af0b71261f 100644 --- a/Library/Homebrew/test/ENV_spec.rb +++ b/Library/Homebrew/test/ENV_spec.rb @@ -205,5 +205,12 @@ describe "ENV" do expect(env["HOMEBREW_CCCFG"]).to include("g") end end + + describe "#set_debug_symbols" do + it "sets the debug symbols flag" do + env.set_debug_symbols + expect(env["HOMEBREW_CCCFG"]).to include("D") + end + end end end