summaryrefslogtreecommitdiffstats
path: root/tests/jq.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/jq.test')
-rw-r--r--tests/jq.test10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/jq.test b/tests/jq.test
index 3ba29add..94dec3fb 100644
--- a/tests/jq.test
+++ b/tests/jq.test
@@ -1270,13 +1270,11 @@ null
[null,true,{"a":1}]
[]
-[1,error,2]
+.[] | try error catch .
+[1,null,2]
+1
null
-[1,2]
-
-[1,error(null),2]
-0
-[1,2]
+2
try error("\($__loc__)") catch .
null