mirror of
https://github.com/hashicorp/packer.git
synced 2026-07-15 03:57:06 -04:00
fix tests
This commit is contained in:
parent
a358b174a4
commit
c1960840e3
1 changed files with 3 additions and 0 deletions
|
|
@ -626,6 +626,9 @@ func TestSensitiveVars(t *testing.T) {
|
|||
if filtered[0] != tc.Expected && len(filtered) != 1 {
|
||||
t.Fatalf("not filtering sensitive vars; filtered is %#v", filtered)
|
||||
}
|
||||
|
||||
// clear filter so it doesn't break other tests
|
||||
LogSecretFilter.s = make(map[string]struct{})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue