From 0939d70557c359a9af8f67811cdf273fa7ea83b9 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Fri, 16 Feb 2018 17:19:50 +0100 Subject: add object lifecycle testcase --- container_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'container_test.go') diff --git a/container_test.go b/container_test.go index 76ff037..f0004a5 100644 --- a/container_test.go +++ b/container_test.go @@ -30,7 +30,7 @@ func TestContainerLifecycle(t *testing.T) { expectString(t, c.Name(), containerName) if c.Account() != a { - t.Errorf("expected c.Account() = %#v, go %#v instead\n", a, c.Account()) + t.Errorf("expected c.Account() = %#v, got %#v instead\n", a, c.Account()) } exists, err := c.Exists() @@ -43,7 +43,7 @@ func TestContainerLifecycle(t *testing.T) { expectBool(t, Is(err, http.StatusNoContent), false) //DELETE should be idempotent and not return success on non-existence, but - //OpenStack loves to be inconsistent with everything (including, notably, itself) + //OpenStack LOVES to be inconsistent with everything (including, notably, itself) err = c.Delete(nil, nil) expectError(t, err, "expected 204 response, got 404 instead:

Not Found

The resource could not be found.

") -- cgit v1.2.3