aboutsummaryrefslogtreecommitdiff
path: root/container_test.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-02-05 21:30:33 +0100
committerStefan Majewsky <majewsky@gmx.net>2018-02-05 21:44:35 +0100
commit3a24741929cd12ffee5e54d0e9a9afb83c5069b3 (patch)
tree6a91b159d25814e873fcfae08cd40cba9b1dcc14 /container_test.go
parent7de32502590995ee8d7cc8b681b0f723ca35ccb0 (diff)
downloadgo-schwift-3a24741929cd12ffee5e54d0e9a9afb83c5069b3.tar.gz
redesign the header API
I'm quite satisfied with this right now (though this doesn't say anything about how I feel about it tomorrow), but it's ugly that some guts (headers.Base) are exposed in the public API.
Diffstat (limited to 'container_test.go')
-rw-r--r--container_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container_test.go b/container_test.go
index 7c67ed5..bbb2deb 100644
--- a/container_test.go
+++ b/container_test.go
@@ -38,7 +38,7 @@ func TestContainerExistence(t *testing.T) {
expectBool(t, Is(err, http.StatusNotFound), true)
expectBool(t, Is(err, http.StatusNoContent), false)
- err = c.Create(ContainerHeaders{}, nil)
+ err = c.Create(NewContainerHeaders(), nil)
expectError(t, err, "")
exists, err = c.Exists()