summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMuh Muhten <muh.muhten@gmail.com>2019-02-26 05:40:01 -0500
committerNico Williams <nico@cryptonector.com>2019-02-26 11:05:25 -0600
commita1626adb7ec90f19e57f24eafefb7b1bdb518e7d (patch)
tree85f118d6cfbb2e50ac3594df2a1388439ed504c8 /tests
parentd1a07cbdc1363bf2f8846fa5c84a81c6e95435d4 (diff)
Fix bizarre bsearch/1 behaviour with a stream argument
Diffstat (limited to 'tests')
-rw-r--r--tests/jq.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/jq.test b/tests/jq.test
index 539ee7d8..b85f897d 100644
--- a/tests/jq.test
+++ b/tests/jq.test
@@ -1427,8 +1427,10 @@ ascii_upcase
"useful but not for é"
"USEFUL BUT NOT FOR é"
-bsearch(4)
+bsearch(0,2,4)
[1,2,3]
+-1
+1
-4
# strptime tests are in optional.test