diff options
author | Nicolas Williams <nico@cryptonector.com> | 2015-07-10 10:11:51 -0500 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2015-07-10 10:19:33 -0500 |
commit | 579518c78d0a277f487a03b03c450455089e6770 (patch) | |
tree | c9782e974e8e68d51373dddbdb4c0f310c7e4cce /tests/jq.test | |
parent | fa45a5121c2b2af03190e88bfde0a35111786ba7 (diff) |
Use `include` for import into namespace
Diffstat (limited to 'tests/jq.test')
-rw-r--r-- | tests/jq.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/jq.test b/tests/jq.test index a2c10419..b7d0ccb9 100644 --- a/tests/jq.test +++ b/tests/jq.test @@ -1121,7 +1121,7 @@ import "c" as foo; [foo::a, foo::c] null [0,"acmehbah"] -import "c"; [a, c] +include "c"; [a, c] null [0,"acmehbah"] @@ -1153,9 +1153,9 @@ try join(",") catch . ["1","2",{"a":{"b":{"c":33}}}] "string (\",\") and object ({\"a\":{\"b\":{...) cannot be added" -{if:0,and:1,or:2,then:3,else:4,elif:5,end:6,as:7,def:8,reduce:9,foreach:10,try:11,catch:12,label:13,import:14,module:15} +{if:0,and:1,or:2,then:3,else:4,elif:5,end:6,as:7,def:8,reduce:9,foreach:10,try:11,catch:12,label:13,import:14,include:15,module:16} null -{"if":0,"and":1,"or":2,"then":3,"else":4,"elif":5,"end":6,"as":7,"def":8,"reduce":9,"foreach":10,"try":11,"catch":12,"label":13,"import":14,"module":15} +{"if":0,"and":1,"or":2,"then":3,"else":4,"elif":5,"end":6,"as":7,"def":8,"reduce":9,"foreach":10,"try":11,"catch":12,"label":13,"import":14,"include":15,"module":16} try (1/.) catch . 0 |