aboutsummaryrefslogtreecommitdiff
path: root/container_test.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-02-07 19:33:36 +0100
committerStefan Majewsky <majewsky@gmx.net>2018-02-07 19:33:36 +0100
commit801b5207dcbf3438e7612e1f7edc9de32ce0780c (patch)
tree6f0454ec49bf769e361cfa393290efc68583ca67 /container_test.go
parent8bddda344201d9f034b5e9c2e9c37a25caeb80cb (diff)
downloadgo-schwift-801b5207dcbf3438e7612e1f7edc9de32ce0780c.tar.gz
switch from reflection to code generation
This allows me to make the API much simpler. More simplification forthcoming in the following commit; I just want to make a cut since `make test` is happy right now.
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 bbb2deb..c6e20f1 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(NewContainerHeaders(), nil)
+ err = c.Create(nil, nil)
expectError(t, err, "")
exists, err = c.Exists()