chore: lint tests (#14268)

This commit is contained in:
Jacob Gadikian
2022-12-18 23:48:31 +00:00
committed by GitHub
parent 2eb5144749
commit be8c5a09c2
188 changed files with 729 additions and 736 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func (s *StringSuite) TestUnsafeStrToBytes() {
b := unsafeConvertStr()
runtime.GC()
<-time.NewTimer(2 * time.Millisecond).C
b2 := append(b, 'd')
b2 := append(b, 'd') //nolint:gocritic // append is fine here
s.Equal("abc", string(b))
s.Equal("abcd", string(b2))
}