Fix some missing coverage

This commit is contained in:
Travis Groth 2019-05-25 16:46:22 -04:00
parent dc2eb9668c
commit af254882e6

View file

@ -27,6 +27,7 @@ func TestNew(t *testing.T) {
{"really bad shared secret", "sup", policies, true},
{"validation error, short secret", "AZA85podM73CjLCjViDNz1EUvvejKpWp7Hysr0knXA==", policies, true},
{"nil options", "", []policy.Policy{}, true}, // special case
{"missing policies", "gXK6ggrlIW2HyKyUF9rUO4azrDgxhDPWqw9y+lJU7B8=", []policy.Policy{}, true}, // special case
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {