From 3dd4c0eb6a34e6fe0929296bd908fa7b31662406 Mon Sep 17 00:00:00 2001 From: Pavel Pavlenko Date: Sat, 19 Dec 2015 14:37:38 +0300 Subject: [PATCH] Fix TestTLSParseBasic --- caddy/setup/tls_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/caddy/setup/tls_test.go b/caddy/setup/tls_test.go index 8e2ecece..e2d2e015 100644 --- a/caddy/setup/tls_test.go +++ b/caddy/setup/tls_test.go @@ -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