diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-07-10 17:44:14 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-07-10 18:16:58 +0200 |
| commit | d4c58caef7e5fbae992399cb3b28681694468b39 (patch) | |
| tree | 07e6fb43abc9f0c186333fedff90360e62df6872 /syz-ci/jobs_test.go | |
| parent | 56d01184e3b69688dec04bd97a3017df9462f4fc (diff) | |
tools/syz-linter: enable some standard linters
Enable some x/tools linters that are not enabled in vet.
Update #1876
Diffstat (limited to 'syz-ci/jobs_test.go')
| -rw-r--r-- | syz-ci/jobs_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syz-ci/jobs_test.go b/syz-ci/jobs_test.go index 3d8e50201..b80f2d9f4 100644 --- a/syz-ci/jobs_test.go +++ b/syz-ci/jobs_test.go @@ -5,7 +5,7 @@ package main import ( "errors" - "reflect" + "fmt" "testing" "github.com/google/syzkaller/pkg/instance" @@ -105,7 +105,7 @@ func TestAggregateTestResults(t *testing.T) { } for i, test := range tests { rep, err := aggregateTestResults(test.results) - if !reflect.DeepEqual(err, test.err) { + if fmt.Sprint(err) != fmt.Sprint(test.err) { t.Errorf("test #%v: got err: %q, want: %q", i, err, test.err) } got := "" |
