From 04ce17415f25dbf10eba954212c8428ae630df88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 26 Oct 2022 11:31:22 +0200 Subject: Format with go 1.19 --- tests/largeobject_test.go | 2 -- tests/shared_test.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/largeobject_test.go b/tests/largeobject_test.go index 1932741..b63ccd7 100644 --- a/tests/largeobject_test.go +++ b/tests/largeobject_test.go @@ -36,7 +36,6 @@ func foreachLargeObjectStrategy(action func(schwift.LargeObjectStrategy, string) func TestLargeObjectsBasic(t *testing.T) { testWithContainer(t, func(c *schwift.Container) { foreachLargeObjectStrategy(func(strategy schwift.LargeObjectStrategy, strategyStr string) { - obj := c.Object(strategyStr + "-largeobject") lo, err := obj.AsLargeObject() expectError(t, err, schwift.ErrNotLarge.Error()) @@ -135,7 +134,6 @@ func TestLargeObjectsBasic(t *testing.T) { Etag: etagOfString(segment4), }, }) - }) }) } diff --git a/tests/shared_test.go b/tests/shared_test.go index 36404bd..54934ff 100644 --- a/tests/shared_test.go +++ b/tests/shared_test.go @@ -30,6 +30,7 @@ import ( "github.com/gophercloud/gophercloud/openstack" "github.com/gophercloud/gophercloud/openstack/objectstorage/v1/swauth" "github.com/gophercloud/utils/openstack/clientconfig" + "github.com/majewsky/schwift" "github.com/majewsky/schwift/gopherschwift" ) -- cgit v1.2.3