diff options
Diffstat (limited to 'tests/all.test')
-rw-r--r-- | tests/all.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/all.test b/tests/all.test index 83f91dae..97af7e55 100644 --- a/tests/all.test +++ b/tests/all.test @@ -574,3 +574,11 @@ unique .foo[.baz] {"foo":{"bar":4},"baz":"bar"} 4 + +.[] | .error = "no, it's OK" +[{"error":true}] +{"error": "no, it's OK"} + +[{a:1}] | .[] | .a=999 +null +{"a": 999} |