1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-24 23:16:47 +02:00

increase coverage

This commit is contained in:
Xargin
2017-07-05 11:40:20 +08:00
parent 1745078ab7
commit 550531a046
7 changed files with 83 additions and 8 deletions

View File

@ -3,8 +3,9 @@ package jsoniter
import (
"bytes"
"fmt"
"github.com/json-iterator/go/require"
"testing"
"github.com/json-iterator/go/require"
)
func Test_empty_object(t *testing.T) {
@ -381,7 +382,7 @@ func Test_shadow_struct_field(t *testing.T) {
should.Contains(output, `"max_age":20`)
}
func Test_embeded_order(t *testing.T) {
func Test_embedded_order(t *testing.T) {
type A struct {
Field2 string
}