diff options
author | Nicolas Williams <nico@cryptonector.com> | 2019-02-08 20:39:36 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2019-02-08 20:40:55 -0600 |
commit | 2660b04a731568c54eb4b91fe811d81cbbf3470b (patch) | |
tree | a3f99840574d3bf3c1fc2b4947d73215f25c6c68 /tests | |
parent | 18ac789d6d74f198053c547fba4e8c70cb99d55a (diff) | |
download | jq-2660b04a731568c54eb4b91fe811d81cbbf3470b.tar.gz |
Fix infinite loop in index("") (fix #1815)
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 6ee657b..1572043 100644 --- a/tests/jq.test +++ b/tests/jq.test @@ -1538,4 +1538,9 @@ isempty(1,error("foo")) null false +# Regression test for #1815 +index("") +"" +null + |