From 3a24741929cd12ffee5e54d0e9a9afb83c5069b3 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Mon, 5 Feb 2018 21:30:33 +0100 Subject: 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. --- 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 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() -- cgit v1.2.3