summaryrefslogtreecommitdiffstats
path: root/tests/jq.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/jq.test')
-rw-r--r--tests/jq.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/jq.test b/tests/jq.test
index c07d1dc0..12d2b4db 100644
--- a/tests/jq.test
+++ b/tests/jq.test
@@ -1408,4 +1408,16 @@ true
{"a": {"b": [1, {"b": 3}]}}
{"a": {"b": 1}}
+isempty(empty)
+null
+true
+
+isempty(range(3))
+null
+false
+
+isempty(1,error("foo"))
+null
+false
+