@@ -46,9 +46,9 @@ func TestVerifyAud(t *testing.T) {
4646
4747 // []interface{}
4848 {Name : "Empty []interface{} Aud without match required" , MapClaims : MapClaims {"aud" : nilListInterface }, Expected : true , Required : false , Comparison : "example.com" },
49- {Name : "[]interface{} Aud wit match required" , MapClaims : MapClaims {"aud" : []interface {}{"a" , "foo" , "example.com" }}, Expected : true , Required : true , Comparison : "example.com" },
50- {Name : "[]interface{} Aud wit match but invalid types" , MapClaims : MapClaims {"aud" : []interface {}{"a" , 5 , "example.com" }}, Expected : false , Required : true , Comparison : "example.com" },
51- {Name : "[]interface{} Aud int wit match required" , MapClaims : MapClaims {"aud" : intListInterface }, Expected : false , Required : true , Comparison : "example.com" },
49+ {Name : "[]interface{} Aud with match required" , MapClaims : MapClaims {"aud" : []interface {}{"a" , "foo" , "example.com" }}, Expected : true , Required : true , Comparison : "example.com" },
50+ {Name : "[]interface{} Aud with match but invalid types" , MapClaims : MapClaims {"aud" : []interface {}{"a" , 5 , "example.com" }}, Expected : false , Required : true , Comparison : "example.com" },
51+ {Name : "[]interface{} Aud int with match required" , MapClaims : MapClaims {"aud" : intListInterface }, Expected : false , Required : true , Comparison : "example.com" },
5252
5353 // interface{}
5454 {Name : "Empty interface{} Aud without match not required" , MapClaims : MapClaims {"aud" : nilInterface }, Expected : true , Required : false , Comparison : "example.com" },
0 commit comments