You've already forked json-iterator
mirror of
https://github.com/json-iterator/go.git
synced 2025-06-24 23:16:47 +02:00
gofmt
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
package jsoniter
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"encoding/json"
|
||||
"github.com/json-iterator/go/require"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test_json_RawMessage(t *testing.T) {
|
||||
@ -38,7 +38,6 @@ func Test_json_RawMessage_in_struct(t *testing.T) {
|
||||
should.Equal(`hello`, data.Field1)
|
||||
}
|
||||
|
||||
|
||||
func Test_decode_map_of_raw_message(t *testing.T) {
|
||||
should := require.New(t)
|
||||
type RawMap map[string]*json.RawMessage
|
||||
@ -72,4 +71,4 @@ func Test_encode_map_of_jsoniter_raw_message(t *testing.T) {
|
||||
output, err := MarshalToString(rawMap)
|
||||
should.Nil(err)
|
||||
should.Equal(`{"hello":[]}`, output)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user