fix a few go-vet errors

This commit is contained in:
Tim Hockin
2016-02-09 13:20:31 -08:00
parent ee54afc9ed
commit 7cab7bd472
10 changed files with 20 additions and 21 deletions

View File

@@ -79,7 +79,7 @@ func TestTcpHealthChecker(t *testing.T) {
t.Errorf("#%d: expected error=%v, get=%v", i, tt.expectedError, err)
}
if !containsAny(output, tt.expectedOutputs) {
t.Errorf("#%d: expected output=one of %#v, get=%s", tt.expectedOutputs, output)
t.Errorf("#%d: expected output=one of %#v, get=%s", i, tt.expectedOutputs, output)
}
}
}