Skip to content

Commit

Permalink
Add a regression test for #2000
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Jul 21, 2023
1 parent 5152602 commit 99a77f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/jq.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99a77f7

Please sign in to comment.