From 801b5207dcbf3438e7612e1f7edc9de32ce0780c Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 7 Feb 2018 19:33:36 +0100 Subject: 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. --- container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container_test.go') 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() -- cgit v1.2.3