From a1d9d2b34bfc86677ce61a28aac451875322faab Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Fri, 15 Sep 2023 15:33:35 +0200 Subject: [PATCH] x --- script/nocopyreadall.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/script/nocopyreadall.bash b/script/nocopyreadall.bash index 8180292d87..29bf5de6e4 100755 --- a/script/nocopyreadall.bash +++ b/script/nocopyreadall.bash @@ -33,6 +33,12 @@ for file in $(find . -type f -name \*.go); do continue fi + if [ "$file" = "./internal/testingx/httpproxy.go" ]; then + # We're allowed to use ReadAll and Copy in this file because + # it's code that we only use for testing purposes. + continue + fi + if [ "$file" = "./internal/testingx/httptestx.go" ]; then # We're allowed to use ReadAll and Copy in this file because # it's code that we only use for testing purposes.