diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-26 23:21:49 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-29 02:14:51 -0700 |
commit | 676d6be02292900c2ba47f5c1a95b42ab81a7b93 (patch) | |
tree | 52f43477c7e6c1410d1bfb5215687be134e22327 /compat | |
parent | ec8f03e1f557a0e24380ab4763d937a22e9d4a1c (diff) |
.golangci.yml: Turn on 'dupword', fix
Diffstat (limited to 'compat')
-rw-r--r-- | compat/json/borrowed_stream_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 |