diff options
author | itchyny <itchyny@cybozu.co.jp> | 2023-07-21 09:01:28 +0900 |
---|---|---|
committer | itchyny <itchyny@cybozu.co.jp> | 2023-07-21 09:01:28 +0900 |
commit | 99a77f724b6bd4006ade19592b506ebba5a2bfa0 (patch) | |
tree | 33df03b6e4386a6cccfc1d492160759a90665182 /tests | |
parent | 515260213c480bb275e92c86e82498e96d0fcbb0 (diff) |
Add a regression test for #2000
Diffstat (limited to 'tests')
-rw-r--r-- | tests/jq.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/jq.test b/tests/jq.test index f43f9384..da35e9a8 100644 --- a/tests/jq.test +++ b/tests/jq.test @@ -1520,6 +1520,11 @@ import "data" as $e; import "data" as $d; [$d[].this,$e[].that,$d::d[].this,$e:: null "is a test;is too;is a test;is too" +# Regression test for #2000 +import "data" as $a; import "data" as $b; def f: {$a, $b}; f +null +{"a":[{"this":"is a test","that":"is too"}],"b":[{"this":"is a test","that":"is too"}]} + include "shadow1"; e null 2 |