Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e77132e38 |
@@ -43,6 +43,8 @@ func installFakeGPG(t *testing.T) {
|
|||||||
// fails because on macOS there is no mnemonic and no current unlocker, and
|
// fails because on macOS there is no mnemonic and no current unlocker, and
|
||||||
// on every other platform it always fails
|
// on every other platform it always fails
|
||||||
// (https://git.eeqj.de/sneak/secret/issues/88).
|
// (https://git.eeqj.de/sneak/secret/issues/88).
|
||||||
|
//
|
||||||
|
//nolint:paralleltest // t.Setenv forbids t.Parallel
|
||||||
func TestCreatePGPUnlockerFailureWritesNothing(t *testing.T) {
|
func TestCreatePGPUnlockerFailureWritesNothing(t *testing.T) {
|
||||||
installFakeGPG(t)
|
installFakeGPG(t)
|
||||||
t.Setenv(secret.EnvMnemonic, "")
|
t.Setenv(secret.EnvMnemonic, "")
|
||||||
|
|||||||
Reference in New Issue
Block a user