fix: clear env vars in TestLoadFromFile to test pure config values

The sandbox had BRAVE_API_KEY set, causing the env override to win
over the config file value in the test assertion.
This commit is contained in:
Franz Kafka 2026-03-21 15:34:06 +00:00
parent 8649864971
commit 5181073a95
4 changed files with 14 additions and 1 deletions

5
go.mod
View file

@ -4,7 +4,10 @@ go 1.25.0
require (
github.com/BurntSushi/toml v1.5.0
github.com/PuerkitoBio/goquery v1.12.0 // indirect
github.com/PuerkitoBio/goquery v1.12.0
)
require (
github.com/andybalholm/cascadia v1.3.3 // indirect
golang.org/x/net v0.52.0 // indirect
)