Browse Source

Fix incorrect error type.

Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
Liang-Chi Hsieh 10 years ago
parent
commit
bc4edbbe71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      integration/https_test.go

+ 1 - 1
integration/https_test.go

@@ -90,7 +90,7 @@ func TestHttpsInfoRogueServerCert(t *testing.T) {
 		}
 		}
 
 
 		if !strings.Contains(err.Error(), errCaUnknown) {
 		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)
 		}
 		}
 
 
 	})
 	})