summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 23:21:49 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:14:51 -0700
commit676d6be02292900c2ba47f5c1a95b42ab81a7b93 (patch)
tree52f43477c7e6c1410d1bfb5215687be134e22327 /compat
parentec8f03e1f557a0e24380ab4763d937a22e9d4a1c (diff)
.golangci.yml: Turn on 'dupword', fix
Diffstat (limited to 'compat')
-rw-r--r--compat/json/borrowed_stream_test.go1
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