Define examples in the "examples" field instead of "example"

Only examples defined in the "examples" field are generated, if they are
defined in "example", they are just ignored.

Also fix a bunch of incorrect tests.
This commit is contained in:
Emanuele Torre authored and Nico Williams committed 2023-07-18 12:12:50 -05:00
1 parent 01dfd8b86d
commit 15fd31de78
4 files changed
+127 -16

No files matched your search

+4
View File
@@ -572,6 +572,10 @@ join(" ")
["a",1,2.3,true,null,false]
"a 1 2.3 true false"
ascii_upcase
"useful but not for é"
"USEFUL BUT NOT FOR é"
[while(.<100; .*2)]
1
[1,2,4,8,16,32,64]