aboutsummaryrefslogtreecommitdiff
path: root/object_iterator_test.go
diff options
context:
space:
mode:
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 {