mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-13 22:51:08 -05:00
Fix TestTLSParseBasic
This commit is contained in:
parent
1e27b5be89
commit
3dd4c0eb6a
1 changed files with 2 additions and 2 deletions
|
@ -46,9 +46,9 @@ func TestTLSParseBasic(t *testing.T) {
|
|||
}
|
||||
|
||||
// Ensure count is correct (plus one for TLS_FALLBACK_SCSV)
|
||||
if len(c.TLS.Ciphers) != len(defaultCiphers) {
|
||||
if len(c.TLS.Ciphers) != len(expectedCiphers) {
|
||||
t.Errorf("Expected %v Ciphers (including TLS_FALLBACK_SCSV), got %v",
|
||||
len(defaultCiphers), len(c.TLS.Ciphers))
|
||||
len(expectedCiphers), len(c.TLS.Ciphers))
|
||||
}
|
||||
|
||||
// Ensure ordering is correct
|
||||
|
|
Loading…
Reference in a new issue