summaryrefslogtreecommitdiff
path: root/object_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2017-07-06 21:09:01 +0200
committerCarlos Martín Nieto <[email protected]>2017-07-06 21:09:01 +0200
commitb09f1ab73936c8ce50b00c50ed4884b748e94b66 (patch)
tree43ad3d49ed236940d8bf7d3f97a1e52122e29c86 /object_test.go
parentdaee43b89171725a719f0bafebbb348d855156fe (diff)
Fix a couple of issues reported by go-vet
Diffstat (limited to 'object_test.go')
-rw-r--r--object_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/object_test.go b/object_test.go
index 1b188a8..cc08210 100644
--- a/object_test.go
+++ b/object_test.go
@@ -108,7 +108,7 @@ func TestObjectOwner(t *testing.T) {
func checkShortId(t *testing.T, Id, shortId string) {
if len(shortId) < 7 || len(shortId) >= len(Id) {
- t.Fatal("bad shortId lenght %s", len(shortId))
+ t.Fatalf("bad shortId lenght %d", len(shortId))
}
if !strings.HasPrefix(Id, shortId) {