aboutsummaryrefslogtreecommitdiff
path: root/object_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'object_test.go')
-rw-r--r--object_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/object_test.go b/object_test.go
index a385434..e5ad385 100644
--- a/object_test.go
+++ b/object_test.go
@@ -59,8 +59,8 @@ func must(t *testing.T, err error) {
}
func TestObjectTempURLSha1Only(t *testing.T) {
- //setup a bogus backend, account, container and object with exact names to
- //reproducibly generate a temp URL
+ // setup a bogus backend, account, container and object with exact names to
+ // reproducibly generate a temp URL
account, err := InitializeAccount(tempurlBogusBackend{
mockInfoText: `{ "tempurl": { "allowed_digests": [ "sha1" ]}}`,
})
@@ -74,8 +74,8 @@ func TestObjectTempURLSha1Only(t *testing.T) {
}
func TestObjectTempURL(t *testing.T) {
- //setup a bogus backend, account, container and object with exact names to
- //reproducibly generate a temp URL
+ // setup a bogus backend, account, container and object with exact names to
+ // reproducibly generate a temp URL
account, err := InitializeAccount(tempurlBogusBackend{
mockInfoText: `{ "tempurl": { "allowed_digests": [ "sha1", "sha256", "sha512"]}}`,
})