forked from sneak/secret
Replace all os.Setenv calls with t.Setenv in test functions to ensure proper test environment cleanup and better test isolation. This leaves only legitimate application code and helper functions using os.Setenv. |
||
|---|---|---|
| .. | ||
| cli_test.go | ||
| cli.go | ||
| crypto.go | ||
| generate.go | ||
| init.go | ||
| integration_test.go | ||
| root.go | ||
| secrets.go | ||
| test_helpers.go | ||
| test_output_test.go | ||
| unlockers.go | ||
| vault.go | ||
| version_test.go | ||
| version.go | ||