aboutsummaryrefslogtreecommitdiff
path: root/tests/object_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/object_test.go')
-rw-r--r--tests/object_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/object_test.go b/tests/object_test.go
index 1bbf953..39fdba2 100644
--- a/tests/object_test.go
+++ b/tests/object_test.go
@@ -225,5 +225,7 @@ func expectObjectContent(t *testing.T, obj *schwift.Object, expected []byte) {
obj.Invalidate()
hdr, err := obj.Headers()
expectSuccess(t, err)
- expectString(t, hdr.Etag().Get(), etagOf(expected))
+ if !hdr.IsLargeObject() {
+ expectString(t, hdr.Etag().Get(), etagOf(expected))
+ }
}