aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/export_test.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-06-17 09:17:33 -0700
committerKeith Randall <khr@golang.org>2014-06-17 09:17:33 -0700
commit2b309c6e225a908132ddf34316286ec0cdfdb98f (patch)
tree8d1d9a7f23a7c698aa2ec7ed01c921eb68e3f95d /src/pkg/runtime/export_test.go
parent63393faedf65b5b3719965cd4dead9a634be352f (diff)
downloadgo-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.go2
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