testing: shorten some more tests

R=rsc
CC=golang-dev
https://golang.org/cl/4314044
This commit is contained in:
Rob Pike 2011-03-26 11:25:22 -07:00
parent d607cb289d
commit 7f9acb53cb
14 changed files with 89 additions and 18 deletions

View file

@ -157,6 +157,7 @@ func TestUnmarshal(t *testing.T) {
}
func TestUnmarshalMarshal(t *testing.T) {
initBig()
var v interface{}
if err := Unmarshal(jsonBig, &v); err != nil {
t.Fatalf("Unmarshal: %v", err)