diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-08-07 11:31:46 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-08-07 09:41:50 +0000 |
| commit | f593e91c0b6219af0cb904d275bb3dfcc1009593 (patch) | |
| tree | b62e203b47a565b1f8130c63480250561eb71cbb /tools/syz-linter/testdata/src/github.com | |
| parent | c19ce525d8b8bbb454fd60909a14eb7f587eb08e (diff) | |
tools/syz-linter: check tool.Failf messages
Check tool.Failf messages for the common style as well.
Diffstat (limited to 'tools/syz-linter/testdata/src/github.com')
| -rw-r--r-- | tools/syz-linter/testdata/src/github.com/google/syzkaller/pkg/tool/tool.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/syz-linter/testdata/src/github.com/google/syzkaller/pkg/tool/tool.go b/tools/syz-linter/testdata/src/github.com/google/syzkaller/pkg/tool/tool.go new file mode 100644 index 000000000..c85eea9fd --- /dev/null +++ b/tools/syz-linter/testdata/src/github.com/google/syzkaller/pkg/tool/tool.go @@ -0,0 +1,7 @@ +// Copyright 2024 syzkaller project authors. All rights reserved. +// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +package tool + +func Failf(msg string, args ...interface{}) {} +func Fail(err error) {} |
