diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-04-16 16:35:18 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-04-17 13:48:18 +0000 |
| commit | acc528cbf40c42eb112d2ce66c5f778bd4a397fb (patch) | |
| tree | 1db39cbb9517df790fdf189d3bd1f59e4b7a8b0c /pkg/cover/cover_test.go | |
| parent | 18f6e127bf6e515fc3eee0936bde2415e676e160 (diff) | |
tools/syz-linter: check t.Logf/Errorf/Fatalf messages
Fix checking of Logf, it has string in 0-th arg.
Add checking of t.Errorf/Fatalf.
Diffstat (limited to 'pkg/cover/cover_test.go')
| -rw-r--r-- | pkg/cover/cover_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/cover/cover_test.go b/pkg/cover/cover_test.go index 2124fb3c8..d5f214ff5 100644 --- a/pkg/cover/cover_test.go +++ b/pkg/cover/cover_test.go @@ -51,7 +51,7 @@ func TestMergeDiff(t *testing.T) { cov.Merge(test.init) diff := cov.MergeDiff(test.merge) if res := cmp.Diff(test.diff, diff); res != "" { - t.Fatalf("MergeDiff result is wrong: %v", res) + t.Fatalf("result is wrong: %v", res) } result := cov.Serialize() sort.Slice(result, func(i, j int) bool { |
