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