Skip to content

Commit

Permalink
fix: Typos in vim25/soap/client CA tests
Browse files Browse the repository at this point in the history
Replace incomplete sentinel error name in these tests with the
intended name:

- TestMultipleCAPaths
- TestInvalidRootCAs

Closes: #2876
  • Loading branch information
atc0005 committed Jun 21, 2022
1 parent 7556da8 commit d6dd8fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vim25/soap/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit d6dd8fb

Please sign in to comment.