jq.test: fix setpath PR number

It was #2970, not 2967.
This commit is contained in:
Emanuele Torre committed 2023-12-11 09:58:09 +01:00
1 parent 22f81401f8
commit 7e54d9646e
1 file changed
+1 -1
+1 -1
View File
@@ -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"]