Add annotation ssl-prefer-server-ciphers.
This commit is contained in:
parent
0e785a0bf2
commit
41d82005ec
8 changed files with 54 additions and 9 deletions
|
|
@ -56,7 +56,7 @@ func TestParse(t *testing.T) {
|
|||
for _, testCase := range testCases {
|
||||
ing.SetAnnotations(testCase.annotations)
|
||||
result, _ := ap.Parse(ing)
|
||||
if result != testCase.expected {
|
||||
if result.SSLCiphers != testCase.expected {
|
||||
t.Errorf("expected %v but returned %v, annotations: %s", testCase.expected, result, testCase.annotations)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue