From d6dd8fb32270e6c9bf0e932e504293939b09b6d8 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Tue, 21 Jun 2022 08:06:20 -0500 Subject: [PATCH] fix: Typos in vim25/soap/client CA tests Replace incomplete sentinel error name in these tests with the intended name: - TestMultipleCAPaths - TestInvalidRootCAs Closes: #2876 --- vim25/soap/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim25/soap/client_test.go b/vim25/soap/client_test.go index 06e9e7338..2f69af2b4 100644 --- a/vim25/soap/client_test.go +++ b/vim25/soap/client_test.go @@ -111,7 +111,7 @@ func TestMultipleCAPaths(t *testing.T) { certErr, ok := err.(errInvalidCACertificate) if !ok { - t.Fatalf("Expected errInvalidCertificate to occur") + t.Fatalf("Expected errInvalidCACertificate to occur") } if certErr.File != "fixtures/invalid-cert.pem" { t.Fatalf("Expected Err to show invalid file") @@ -138,7 +138,7 @@ func TestInvalidRootCAs(t *testing.T) { certErr, ok := err.(errInvalidCACertificate) if !ok { - t.Fatalf("Expected errInvalidCertificate to occur") + t.Fatalf("Expected errInvalidCACertificate to occur") } if certErr.File != "fixtures/invalid-cert.pem" { t.Fatalf("Expected Err to show invalid file")