ddd93a8b71
The shape test passed on `return os.Environ()`; only a Vault-backed test caught it. Move the helper and its test out from behind the integration tag and reject any entry outside PATH/HOME/XDG_CONFIG_HOME.
6 lines
318 B
Go
6 lines
318 B
Go
// Package integration holds the end-to-end tests that run against a real Vault
|
|
// dev server. Those tests are behind the `integration` build tag; the
|
|
// subprocess environment they share, and its own test, are not, so a plain
|
|
// `go test ./...` still guards the helper the tagged tests depend on.
|
|
package integration
|