Fix spelling

This commit is contained in:
Maria Ntalla
2018-06-05 14:03:12 +01:00
committed by Hannes Hörl
parent f7e9b6a474
commit 90012e513a

View File

@@ -98,7 +98,7 @@ func TestWithInvalidCaCertPath(t *testing.T) {
_, err := connection.NewClient(context.Background())
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())
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)
if err != vclib.ErrUnsupportedTransport {
t.Fatalf("should have occured")
t.Fatalf("should have occurred")
}
}