Fix spelling

pull/8/head
Maria Ntalla 2018-06-05 14:03:12 +01:00 committed by Hannes Hörl
parent f7e9b6a474
commit 90012e513a
1 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ func TestWithInvalidCaCertPath(t *testing.T) {
_, err := connection.NewClient(context.Background()) _, err := connection.NewClient(context.Background())
if err != vclib.ErrCaCertNotReadable { if err != vclib.ErrCaCertNotReadable {
t.Fatalf("should have occoured") t.Fatalf("should have occurred")
} }
} }
@ -112,7 +112,7 @@ func TestInvalidCaCert(t *testing.T) {
_, err := connection.NewClient(context.Background()) _, err := connection.NewClient(context.Background())
if err != vclib.ErrCaCertInvalid { if err != vclib.ErrCaCertInvalid {
t.Fatalf("should have occoured") t.Fatalf("should have occurred")
} }
} }
@ -127,7 +127,7 @@ func TestUnsupportedTransport(t *testing.T) {
err := connection.ConfigureTransportWithCA(notHttpTransport) err := connection.ConfigureTransportWithCA(notHttpTransport)
if err != vclib.ErrUnsupportedTransport { if err != vclib.ErrUnsupportedTransport {
t.Fatalf("should have occured") t.Fatalf("should have occurred")
} }
} }