fix tests

This commit is contained in:
Megan Marsh 2019-04-03 11:01:52 -07:00
parent a358b174a4
commit c1960840e3

View File

@ -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{})
}
}