aboutsummaryrefslogtreecommitdiff
path: root/container_test.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-02-16 17:19:50 +0100
committerStefan Majewsky <majewsky@gmx.net>2018-02-16 17:19:50 +0100
commit0939d70557c359a9af8f67811cdf273fa7ea83b9 (patch)
tree1000899566d6869a531e31507575a4cc39fae84d /container_test.go
parent2c30880ae2fe590c82d581461b23cf59ec2ff83b (diff)
downloadgo-schwift-0939d70557c359a9af8f67811cdf273fa7ea83b9.tar.gz
add object lifecycle testcase
Diffstat (limited to 'container_test.go')
-rw-r--r--container_test.go4
1 files changed, 2 insertions, 2 deletions
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: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>")