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/prio_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prog/prio_test.go') diff --git a/prog/prio_test.go b/prog/prio_test.go index 60802657a..93555818e 100644 --- a/prog/prio_test.go +++ b/prog/prio_test.go @@ -63,7 +63,7 @@ func TestStaticPriorities(t *testing.T) { } // Checks that prio[callCreatesRes][callUsesRes] > prio[callUsesRes][callCreatesRes] if count >= counter[call] { - t.Fatalf("Too high priority for %s -> %s: %d vs %s -> %s: %d", + t.Fatalf("too high priority for %s -> %s: %d vs %s -> %s: %d", call, referenceCall, count, referenceCall, call, counter[call]) } } -- cgit mrf-deployment