Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Guo Song committed Mar 8, 2019
1 parent 1682a50 commit 1c3269c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/builtin_json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ func (s *testEvaluatorSuite) TestJSONArrayAppend(c *C) {
{[]interface{}{`{"a": 1}`, `$.a`, sampleJSON, `$.a[1]`, sampleJSON}, `{"a": [1, [{"b": 2}, {"b": 2}]]}`, true, false},
{[]interface{}{nil, `$`, nil}, nil, true, false},
{[]interface{}{nil, `$`, `a`}, nil, true, false},
{[]interface{}{`null`, `$`, nil}, `[null]`, true, false},
{[]interface{}{`null`, `$`, nil}, `[null, null]`, true, false},
// bad arguments
{[]interface{}{`asdf`, `$`, nil}, nil, true, true},
{[]interface{}{``, `$`, nil}, nil, true, true},
Expand Down

0 comments on commit 1c3269c

Please sign in to comment.