manual.yml: remove contingent tests

Also clarify non-prescriptive nature of some tests in jq.test
This commit is contained in:
pkoppstein authored and Nico Williams committed 2023-07-25 23:43:57 -05:00
1 parent 7b725378b9
commit 13fbe98dff
4 files changed
+16 -11

No files matched your search

+10 -5
View File
@@ -1814,12 +1814,17 @@ abs
"abc"
map(abs)
[-10, -1.1, -1e-1, 1000000000000000002]
[10,1.1,0.1,1000000000000000002]
[-0, 0, -10, -1.1]
[0,0,10,1.1]
map(fabs == length) | unique[0]
[-10, -1.1, -1e-1, 1000000000000000002, -1000000000000000002]
true
map(fabs == length) | unique
[-10, -1.1, -1e-1, 1000000000000000002]
[true]
# The following is NOT prescriptive:
map(abs)
[0.1,1000000000000000002]
[1e-1, 1000000000000000002]
# Using a keyword as variable/label name
+2 -2
View File
@@ -189,8 +189,8 @@ null
-1
map(abs)
[-10, -1.1, -1e-1, 1000000000000000002, -1000000000000000002]
[10,1.1,1e-1,10000000000000002,1e+18]
[-10, -1.1, -1e-1]
[10,1.1,1e-1]
.[] | length
[[1,2], "string", {"a":2}, null, -5]