diff options
| author | Rob Pike <r@golang.org> | 2009-01-06 15:30:07 -0800 | 
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2009-01-06 15:30:07 -0800 | 
| commit | a40e8ef0e11c67e1a0ab6c33143a294d47876797 (patch) | |
| tree | 71501c4d96ceae966af3d445542931949efabfd4 /src/lib/utf8_test.go | |
| parent | ed11a02881ce298dfc96d3a1be29e820d2fd0142 (diff) | |
| download | golang-a40e8ef0e11c67e1a0ab6c33143a294d47876797.tar.gz | |
update utf8_test.go
R=rsc
OCL=22170
CL=22170
Diffstat (limited to 'src/lib/utf8_test.go')
| -rw-r--r-- | src/lib/utf8_test.go | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/lib/utf8_test.go b/src/lib/utf8_test.go index a0fe345bd..aebd33565 100644 --- a/src/lib/utf8_test.go +++ b/src/lib/utf8_test.go @@ -45,7 +45,7 @@ var utf8map = []Utf8Map {  }  func Bytes(s string) []byte { -	b := new([]byte, len(s)+1); +	b := make([]byte, len(s)+1);  	if !syscall.StringToBytes(b, s) {  		panic("StringToBytes failed");  	} | 
