Skip to content

Commit

Permalink
jq.test: fix setpath PR number
Browse files Browse the repository at this point in the history
It was jqlang#2970, not 2967.
  • Loading branch information
emanuele6 committed Dec 10, 2023
1 parent 6b69ffe commit 21c2ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jq.test
Original file line number Diff line number Diff line change
Expand Up @@ -2091,7 +2091,7 @@ try ("foobar" | .[1.5]) catch .
null
"Cannot index string with number"

# setpath/2 does not leak the input after an invalid get #2967
# setpath/2 does not leak the input after an invalid get #2970
try ["ok", setpath([1]; 1)] catch ["ko", .]
{"hi":"hello"}
["ko","Cannot index object with number"]

0 comments on commit 21c2ece

Please sign in to comment.