diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/largeobject_test.go | 2 | ||||
| -rw-r--r-- | tests/shared_test.go | 1 |
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" ) |
