summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2017-03-01 22:45:02 -0600
committerNicolas Williams <nico@cryptonector.com>2017-03-01 22:45:02 -0600
commit9df19f53e44e97d59688a9f3d3736ff0f9cd0222 (patch)
tree1967e0184ba82cdd75f59f6d977f4add4b9af334 /tests
parent65cbaac34498a75973e26799dc03dd81bd27e5ad (diff)
Fix off-by-one bug in #1108 fix
Diffstat (limited to 'tests')
-rw-r--r--tests/jq.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/jq.test b/tests/jq.test
index 930bf794..963595b0 100644
--- a/tests/jq.test
+++ b/tests/jq.test
@@ -389,9 +389,9 @@ del(.[2:4],.[0],.[-2:])
# significantly slower under valgrind than .[<large number>] = value.
#
# We range down rather than up so that we have just one realloc.
-reduce range(70010;69999;-1) as $i ([]; .[$i] = $i)|.[69999:70003]
+reduce range(65540;65536;-1) as $i ([]; .[$i] = $i)|.[65536:]
null
-[null,70000,70001,70002]
+[null,65537,65538,65539,65540]
#
# Variables