Skip to content

Commit

Permalink
operator(+=): add test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
eiiches committed Dec 15, 2024
1 parent d819944 commit 11bbdc1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jackson-jq/src/test/resources/tests/constructs/assignments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,13 @@
v: "(,1.5]"
failing: true
justification: "The jq documentation explicitly states `$var.foo is not a valid or useful path expression in .`."

- q: '.foo += null'
in: {}
out:
- {foo: null}

- q: '.foo += 1'
in: {}
out:
- {foo: 1}

0 comments on commit 11bbdc1

Please sign in to comment.