Skip to content

Commit

Permalink
修正单元测试中的BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
bg5sbk committed Sep 27, 2016
1 parent 107fce7 commit dd43591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codec/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func JsonTestProtocol() *JsonProtocol {
func JsonTest(t *testing.T, protocol link.Protocol) {
var stream bytes.Buffer

codec := protocol.NewCodec(&stream)
codec, _, _ := protocol.NewCodec(&stream)

sendMsg1 := MyMessage1{
Field1: "abc",
Expand Down

0 comments on commit dd43591

Please sign in to comment.