Commit 853c8463 authored by Russ Cox's avatar Russ Cox

template: do not use error as stringer

R=r
CC=golang-dev
https://golang.org/cl/5305069
parent c0a0fd6c
......@@ -98,7 +98,7 @@ var tVal = &T{
Empty3: []int{7, 8},
Empty4: &U{"UinEmpty"},
NonEmptyInterface: new(T),
Str: os.NewError("foozle"),
Str: bytes.NewBuffer([]byte("foozle")),
PI: newInt(23),
PSI: newIntSlice(21, 22, 23),
Tmpl: Must(New("x").Parse("test template")), // "x" is the value of .X
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment