aboutsummaryrefslogtreecommitdiff
path: root/object_test.go
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2024-07-01 13:05:01 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2024-07-01 13:05:35 +0200
commitbd23c64a1283835f5991444bb47ec3da1895ff42 (patch)
treed548aa20b2944b578a429aeae2ac1790b6f0f69a /object_test.go
parent21ec57dc4fed205fde1890c0d7531aae6197b3db (diff)
downloadgo-schwift-bd23c64a1283835f5991444bb47ec3da1895ff42.tar.gz
Fix gophercloud lint complains
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"]}}`,
})