mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
testing: shorten some more tests
R=rsc CC=golang-dev https://golang.org/cl/4314044
This commit is contained in:
parent
d607cb289d
commit
7f9acb53cb
14 changed files with 89 additions and 18 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue