From acc528cbf40c42eb112d2ce66c5f778bd4a397fb Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 16 Apr 2024 16:35:18 +0200 Subject: 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. --- prog/expr_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prog/expr_test.go') diff --git a/prog/expr_test.go b/prog/expr_test.go index adff50c6a..8188436e1 100644 --- a/prog/expr_test.go +++ b/prog/expr_test.go @@ -36,7 +36,7 @@ func TestGenerateConditionalFields(t *testing.T) { for _, first := range []int{0, 1} { for _, second := range []int{0, 1} { if !combinations[first][second] { - t.Fatalf("Did not generate a combination f1=%v f2=%v", first, second) + t.Fatalf("did not generate a combination f1=%v f2=%v", first, second) } } } -- cgit mrf-deployment