mirror of
https://github.com/golang/go
synced 2024-11-18 17:14:45 -07:00
7af746645d
The current tests contain a bug in the priming of funnyString; the subslicing leaves the resulting content slice with a capacity greater than its length. This allowed a bug ToUTF16Column to sneak through where we were not using 0-based column as the offset within the line. Fix the priming of funnyString, and fix the implementation of ToUTF16Column. Change-Id: I2618878d85bba26f52f99a3fc136ad21fe198dfc Reviewed-on: https://go-review.googlesource.com/c/tools/+/174357 Reviewed-by: Ian Cottrell <iancottrell@google.com> Run-TryBot: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
parse.go | ||
span_test.go | ||
span.go | ||
token111.go | ||
token112.go | ||
token_test.go | ||
token.go | ||
uri_test.go | ||
uri.go | ||
utf16_test.go | ||
utf16.go |