diff options
author | David Tolnay <dtolnay@gmail.com> | 2015-09-24 10:31:28 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2015-09-24 10:33:34 -0700 |
commit | 4490d9d1f6d50d2f1e474d2e39f783c39a952c4a (patch) | |
tree | d795e9de11573f82200d5a24a70f7db301401a4f /tests | |
parent | c4524da3e092adcb4d0af5636ae2309d08418a9e (diff) |
Support NaN in path expressions (fix #962)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/jq.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/jq.test b/tests/jq.test index 6c75192e..c7c1d371 100644 --- a/tests/jq.test +++ b/tests/jq.test @@ -851,6 +851,10 @@ try (def x: reverse; x=10) catch . [0,1,2] "Invalid path expression with result [2,1,0]" +.[] = 1 +[1,null,Infinity,-Infinity,NaN,-NaN] +[1,1,1,1,1,1] + # # Conditionals # |