aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@sap.com>2022-10-26 11:31:22 +0200
committerSandro Jäckel <sandro.jaeckel@sap.com>2022-10-26 14:05:42 +0200
commit04ce17415f25dbf10eba954212c8428ae630df88 (patch)
tree1aca7ceab052f17a44bb903fb5a8bd45202bd54c /tests
parentfd6e57b6239655722884a49a86be0f051cc32bde (diff)
downloadgo-schwift-04ce17415f25dbf10eba954212c8428ae630df88.tar.gz
Format with go 1.19
Diffstat (limited to 'tests')
-rw-r--r--tests/largeobject_test.go2
-rw-r--r--tests/shared_test.go1
2 files changed, 1 insertions, 2 deletions
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"
)