google: fix warnings from go vet

go vet reports the following warnings:
google/jwt_test.go:85:
missing argument for Fatalf("%q"): format reads arg 2, have only 1 args

google/sdk_test.go:28:
wrong number of args for format in Errorf call: 1 needed but 2 args

Change-Id: If5acfae42b558ced7694dd7bc6f12ab4a3cb6115
Reviewed-on: https://go-review.googlesource.com/24992
Reviewed-by: Jaana Burcu Dogan <jbd@google.com>
This commit is contained in:
Sean Rees
2016-07-18 19:05:36 +01:00
committed by Jaana Burcu Dogan
parent 08c8d727d2
commit 12e1e98615
2 changed files with 5 additions and 5 deletions

View File

@@ -82,7 +82,7 @@ func TestJWTAccessTokenSourceFromJSON(t *testing.T) {
}
var hdr jws.Header
if err := json.Unmarshal([]byte(hdrJSON), &hdr); err != nil {
t.Fatalf("json.Unmarshal: %v (%q)", err)
t.Fatalf("json.Unmarshal: %v (%q)", err, hdrJSON)
}
if got, want := hdr.KeyID, "268f54e43a1af97cfc71731688434f45aca15c8b"; got != want {