Fixes from go vet and errcheck

This commit is contained in:
Nick Craig-Wood
2015-09-22 07:31:12 +01:00
parent 05050d53ad
commit 2ed158aba3
7 changed files with 39 additions and 20 deletions
+1 -1
View File
@@ -205,7 +205,7 @@ func TestAmazonCloudDrivePacer(t *testing.T) {
got := sum / n
//t.Logf("%+v: got = %v", test, got)
if got < (test.want*9)/10 || got > (test.want*11)/10 {
t.Fatalf("%+v: bad sleep want %v+/-10% got %v", test, test.want, got)
t.Fatalf("%+v: bad sleep want %v+/-10%% got %v", test, test.want, got)
}
}
}