trufflesecurity / trufflehog

Find, verify, and analyze leaked credentials
https://trufflesecurity.com
GNU Affero General Public License v3.0
15.83k stars 1.65k forks source link

Fix test compilation errors #2964

Closed rgmz closed 3 months ago

rgmz commented 3 months ago

Description:

PRs #2812 and #2930 inadvertently broke a few tests.

This wasn't noticed because Go doesn't seem to have a way to compile all tests/tags. The closest you can get is manually specifying all the tags and running a pattern that won't be matched.🤷‍♂️

$ go test -run=XXX_SHOULD_NEVER_MATCH_XXX -tags="detectors,integration,localInfra" ./...

Checklist: