From bc4edbbe712a2d0fb839747814933916177daa74 Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Mon, 15 Dec 2014 17:26:00 +0800 Subject: [PATCH] Fix incorrect error type. Signed-off-by: Liang-Chi Hsieh --- integration/https_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/https_test.go b/integration/https_test.go index 0705dc812f..fa61398c01 100644 --- a/integration/https_test.go +++ b/integration/https_test.go @@ -90,7 +90,7 @@ func TestHttpsInfoRogueServerCert(t *testing.T) { } if !strings.Contains(err.Error(), errCaUnknown) { - t.Fatalf("Expected error: %s, got instead: %s", errBadCertificate, err) + t.Fatalf("Expected error: %s, got instead: %s", errCaUnknown, err) } })