Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaRise committed Feb 2, 2024
1 parent ecb5fb2 commit 64fe766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/expression/builtin_json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ func TestJSONLength(t *testing.T) {
{[]any{`-1`}, 1, true},
{[]any{`1.1`}, 1, true},
{[]any{`"1"`}, 1, true},
{[]any{`"1"`, "$.a"}, 1, true},
{[]any{`null`, "$.a"}, 1, true},
{[]any{`"1"`, "$.a"}, nil, true},
{[]any{`null`, "$.a"}, nil, true},
// Tests nil arguments
{[]any{nil}, nil, true},
{[]any{nil, "a"}, nil, true},
Expand Down

0 comments on commit 64fe766

Please sign in to comment.