1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-24 23:16:47 +02:00
This commit is contained in:
Tao Wen
2017-06-29 20:40:25 +08:00
parent fb382c0ec1
commit 1253b8edd3
4 changed files with 28 additions and 28 deletions

View File

@ -3,10 +3,10 @@ package jsoniter
import (
"bytes"
"encoding/json"
"fmt"
"github.com/json-iterator/go/require"
"io/ioutil"
"testing"
"fmt"
)
func Test_new_decoder(t *testing.T) {
@ -73,7 +73,7 @@ func Test_use_number_for_unmarshal(t *testing.T) {
func Test_marshal_indent(t *testing.T) {
t.Skip("WIP")
should := require.New(t)
output, err := json.MarshalIndent(struct{
output, err := json.MarshalIndent(struct {
F1 int
F2 []int
}{1, []int{2, 3, 4}}, "", " ")