diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-04-24 13:22:19 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-04-24 13:23:01 +0200 |
| commit | 02bbd80e7c322d5a5641d3c45fc5803f18cdf5e6 (patch) | |
| tree | dc7df2e5666287f88a91b84d8982ed1da38c02da | |
| parent | e7e85d36095eba69f23c830bfa8277713ee279f2 (diff) | |
prog: fix gometalinter warnings
| -rw-r--r-- | prog/hints_test.go | 2 | ||||
| -rw-r--r-- | prog/parse_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/prog/hints_test.go b/prog/hints_test.go index 4ce955f99..58519a6ff 100644 --- a/prog/hints_test.go +++ b/prog/hints_test.go @@ -466,7 +466,7 @@ func TestHintsData(t *testing.T) { sort.Strings(test.out) sort.Strings(got) if !reflect.DeepEqual(got, test.out) { - t.Fatalf("comps: %s\ninput: %v\ngot : %+v\nwant: %+v", + t.Fatalf("comps: %v\ninput: %v\ngot : %+v\nwant: %+v", test.comps, test.in, got, test.out) } } diff --git a/prog/parse_test.go b/prog/parse_test.go index aae1e0a17..c6ecf565c 100644 --- a/prog/parse_test.go +++ b/prog/parse_test.go @@ -47,7 +47,7 @@ func TestParseMulti(t *testing.T) { entries := target.ParseLog([]byte(execLog)) if len(entries) != 5 { for i, ent := range entries { - t.Logf("program #%v: %s\n", i, ent.P) + t.Logf("program #%v: %v\n", i, ent.P) } t.Fatalf("got %v programs, want 5", len(entries)) } |
