summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMuh Muhten <muh.muhten@gmail.com>2019-02-07 23:05:18 -0500
committerNico Williams <nico@cryptonector.com>2019-02-20 20:02:41 -0600
commit1ef90acb3814d85d59e5d1502d0ced6287b83408 (patch)
treec46b265aed470d3d08793598950d29a3bd278355 /tests
parente843a4fdf9f6f446f5ddebf2c108cb7d4dda867b (diff)
Bind data imports properly when already resolved
Diffstat (limited to 'tests')
-rw-r--r--tests/jq.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/jq.test b/tests/jq.test
index 1572043e..cbdc0bf0 100644
--- a/tests/jq.test
+++ b/tests/jq.test
@@ -1392,6 +1392,10 @@ include "c"; [a, c]
null
[0,"acmehbah"]
+import "data" as $e; import "data" as $d; [$d[].this,$e[].that,$d::d[].this,$e::e[].that]|join(";")
+null
+"is a test;is too;is a test;is too"
+
%%FAIL
module (.+1); 0
jq: error: Module metadata must be constant at <top-level>, line 1: