diff options
| author | Keith Randall <khr@golang.org> | 2014-06-17 09:17:33 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-06-17 09:17:33 -0700 |
| commit | 2b309c6e225a908132ddf34316286ec0cdfdb98f (patch) | |
| tree | 8d1d9a7f23a7c698aa2ec7ed01c921eb68e3f95d /src/pkg/runtime/export_test.go | |
| parent | 63393faedf65b5b3719965cd4dead9a634be352f (diff) | |
| download | go-2b309c6e225a908132ddf34316286ec0cdfdb98f.tar.xz | |
runtime: fix stringw test.
Null terminate string. Make it endian-agnostic.
TBR=bradfitz
R=golang-codereviews
CC=golang-codereviews
https://golang.org/cl/106060044
Diffstat (limited to 'src/pkg/runtime/export_test.go')
| -rw-r--r-- | src/pkg/runtime/export_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/export_test.go b/src/pkg/runtime/export_test.go index 72d4e11086..4f29106c55 100644 --- a/src/pkg/runtime/export_test.go +++ b/src/pkg/runtime/export_test.go @@ -91,6 +91,6 @@ func gogoBytes() int32 var GogoBytes = gogoBytes -func gostringW([]byte) string +func gostringW([]uint16) string var GostringW = gostringW |
