aboutsummaryrefslogtreecommitdiff
path: root/src/strings/strings_test.go
diff options
context:
space:
mode:
authorLee Packham <lpackham@gmail.com>2015-03-30 17:36:49 +0100
committerIan Lance Taylor <iant@golang.org>2015-03-30 23:59:24 +0000
commitc45751e8a50d6050c6090d654364d69599b2e97a (patch)
tree04ebb4f8d4ea3aae7107de5acaf915b745c53a5f /src/strings/strings_test.go
parent6ca91d264f521a132e5b4c3232bb3850f017d021 (diff)
downloadgo-c45751e8a50d6050c6090d654364d69599b2e97a.tar.xz
runtime: allow pointers to strings to be printed
Being able to printer pointers to strings means one will able to output the result of things like the flag library and other components that use string pointers. While here, adjusted the tests for gdb to test original string pretty printing as well as pointers to them. It was doing it via the map before but for completeness this ensures it's tested as a unit. Change-Id: I4926547ae4fa6c85ef74301e7d96d49ba4a7b0c6 Reviewed-on: https://go-review.googlesource.com/8217 TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/strings/strings_test.go')
0 files changed, 0 insertions, 0 deletions