aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-02 00:49:22 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-02 00:49:22 -0500
commit2a359cb0b41ee76ef2aee61214a53a378d9d35c7 (patch)
tree5dd5201f941421935a7661817f5e2e505fdc584b
parentc80a4241a4651293cdd25fbd4cc1bf1ddb6c5202 (diff)
downloadcvez-2a359cb0b41ee76ef2aee61214a53a378d9d35c7.tar.bz2
cvez-2a359cb0b41ee76ef2aee61214a53a378d9d35c7.zip
internal/feed/meta_test.go: document longVal
-rw-r--r--internal/feed/meta_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/feed/meta_test.go b/internal/feed/meta_test.go
index 7c61dd1..3ea5acb 100644
--- a/internal/feed/meta_test.go
+++ b/internal/feed/meta_test.go
@@ -88,6 +88,7 @@ sha256:B86258D5D9861507A1894A7B92011764803D7267787B1487539E240EA2405440
})
}
+ // build 65k token to make scanner fail
longVal := make([]byte, 65536)
for i := 0; i < cap(longVal); i++ {
longVal[i] = 'a'