style: apply any / all automated lint fixes (#15644)

This commit is contained in:
Jacob Gadikian
2023-03-31 13:48:41 +02:00
committed by GitHub
parent 64ab721a08
commit a9546bfad0
46 changed files with 37 additions and 130 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') //nolint:gocritic // append is fine here
b2 := append(b, 'd')
s.Equal("abc", string(b))
s.Equal("abcd", string(b2))
}