]> Cypherpunks.ru repositories - gostls13.git/commit
test: fix typo in escape_unsafe.go
authorMatthew Dempsky <mdempsky@google.com>
Wed, 7 Sep 2022 09:04:13 +0000 (02:04 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 7 Sep 2022 17:25:59 +0000 (17:25 +0000)
commit2c45feb4d7b8d214d10ca7a34f0986b4e3d00ca1
tree942d31abca88ce25d013d399c74776c0846412c8
parentcdb270cf0737a4752e5375b737eba83929f2b415
test: fix typo in escape_unsafe.go

The toStringData test was meant to test reflect.StringHeader, not
reflect.SliceHeader. It's not supported to convert *string to
*reflect.SliceHeader anyway.

Change-Id: Iaa4912eafd241886c6337bd7607cdf2412a15ead
Reviewed-on: https://go-review.googlesource.com/c/go/+/428995
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
test/escape_unsafe.go