Commit 0f04f2fd authored by Shawn Smith's avatar Shawn Smith Committed by GitHub

fix typo

parent ce8b1dfe
...@@ -43,7 +43,7 @@ func TestCacheCertificate(t *testing.T) { ...@@ -43,7 +43,7 @@ func TestCacheCertificate(t *testing.T) {
t.Error("Expected first cert to be cached by key 'example.com', but it wasn't") t.Error("Expected first cert to be cached by key 'example.com', but it wasn't")
} }
if _, ok := certCache["sub.example.com"]; !ok { if _, ok := certCache["sub.example.com"]; !ok {
t.Error("Expected first cert to be cached by key 'sub.exmaple.com', but it wasn't") t.Error("Expected first cert to be cached by key 'sub.example.com', but it wasn't")
} }
if cert, ok := certCache[""]; !ok || cert.Names[2] != "" { if cert, ok := certCache[""]; !ok || cert.Names[2] != "" {
t.Error("Expected first cert to be cached additionally as the default certificate with empty name added, but it wasn't") t.Error("Expected first cert to be cached additionally as the default certificate with empty name added, but it wasn't")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment