From 676d6be02292900c2ba47f5c1a95b42ab81a7b93 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 26 Jan 2023 23:21:49 -0700 Subject: .golangci.yml: Turn on 'dupword', fix --- compat/json/borrowed_stream_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'compat/json') diff --git a/compat/json/borrowed_stream_test.go b/compat/json/borrowed_stream_test.go index 1ffb43d..50478f0 100644 --- a/compat/json/borrowed_stream_test.go +++ b/compat/json/borrowed_stream_test.go @@ -332,6 +332,7 @@ func BenchmarkEncoderEncode(b *testing.B) { }) } +//nolint:dupword // False positive, this is commented-out code, not a real comment. // MODIFIED: added nolint declaration /* // MODIFIED: we don't have tokens type tokenStreamCase struct { json string -- cgit v1.2.3-2-g168b