edit unittests for JSON parser

This commit is contained in:
Max U
2018-06-27 15:53:52 -07:00
parent 420dafd591
commit c50bfc2c71
9 changed files with 14 additions and 14 deletions

View File

@@ -108,7 +108,7 @@ func TestRunParserAndGatherJSON(t *testing.T) {
n.acc = &acc
defer close(n.done)
n.parser, _ = parsers.NewJSONParser("nats_json_test", []string{}, nil)
n.parser, _ = parsers.NewJSONParser("nats_json_test", []string{}, nil, nil)
n.wg.Add(1)
go n.receiver()
in <- natsMsg(testMsgJSON)