aboutsummaryrefslogtreecommitdiff
path: root/object_iterator_test.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-02-19 19:19:53 +0100
committerStefan Majewsky <majewsky@gmx.net>2018-02-19 19:19:53 +0100
commit46081e2068aeea62783863515ab116bb6af20661 (patch)
treed4dcd5e849909b08597209781dba6fba526ad2ae /object_iterator_test.go
parentd1dec3782fb5f9aa5775dafb0ea1225af6279ed2 (diff)
downloadgo-schwift-46081e2068aeea62783863515ab116bb6af20661.tar.gz
test coverage for object upload, download, metadata update
Diffstat (limited to 'object_iterator_test.go')
-rw-r--r--object_iterator_test.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/object_iterator_test.go b/object_iterator_test.go
index 64cb6a2..92fe4b1 100644
--- a/object_iterator_test.go
+++ b/object_iterator_test.go
@@ -20,8 +20,6 @@ package schwift
import (
"bytes"
- "crypto/md5"
- "encoding/hex"
"fmt"
"testing"
)
@@ -29,11 +27,6 @@ import (
var objectExampleContent = []byte(`{"message":"Hello World!"}`)
var objectExampleContentEtag = etagOf(objectExampleContent)
-func etagOf(buf []byte) string {
- hash := md5.Sum(buf)
- return hex.EncodeToString(hash[:])
-}
-
func TestObjectIterator(t *testing.T) {
testWithContainer(t, func(c *Container) {
oname := func(idx int) string {