1
1
mirror of https://github.com/wader/fq.git synced 2024-12-28 08:02:28 +03:00
fq/pkg/interp/testdata
Mattias Wadman 26d9650b0e interp: Refactor radix* into toradix($base)/fromradix($base)
There is also toradix($base; $table)/fromradix($base; $table) for custom symbols and bases.
Add radix tests

Part of cleaning up all convert/tranformation functions into to/from*.

Remove number_to_bytes as with better binary support it can be written as:
1234 | tobytes | [.[range(.size)]] and soon as 1234 | tobytes | explode
2022-02-11 01:28:39 +01:00
..
args.fqtest asn1_ber: Add decoder 2022-02-06 22:13:03 +01:00
argvars.fqtest interp: dump: Indicate arrays using jq-syntax 2021-12-08 16:24:28 +01:00
basic.fqtest interp: dump: Indicate arrays using jq-syntax 2021-12-08 16:24:28 +01:00
bitops.fqtest interp: Document bit opts funcs and add some error tests 2022-01-09 10:43:07 +01:00
buffer.fqtest binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
color.fqtest fqtest: Add env support and isterminal/width/height support 2021-09-19 02:17:31 +02:00
completion.fqtest interp: Add ._index for values in arrays 2021-12-10 18:19:11 +01:00
configinit.fqtest cli: Add completion tests 2021-09-12 13:08:49 +02:00
debug.fqtest interp: Add stderr again for jq compat 2022-01-07 11:30:09 +01:00
decode.fqtest interp: Support force decode as -o force=true 2022-02-05 17:24:42 +01:00
display.fqtest interp: Cleanup display aliases, now: d, da, dd, dv, ddv 2022-01-28 18:25:38 +01:00
exitcode.fqtest fqtest: Refactor our script part to own package 2021-10-06 18:49:03 +02:00
exprfile.fqtest fqtest: Refactor our script part to own package 2021-10-06 18:49:03 +02:00
funcs.fqtest interp: Refactor radix* into toradix($base)/fromradix($base) 2022-02-11 01:28:39 +01:00
gojq.fqtest interp: dump: Indicate arrays using jq-syntax 2021-12-08 16:24:28 +01:00
grep.fqtest interp: Add grep_by/1 to recursively match using a filter 2022-01-24 18:26:25 +01:00
hexdump.fqtest decode: Major decode API refactor 2021-11-15 21:12:07 +01:00
incudepath.fqtest interp: Make include abs path work again 2021-10-26 11:02:30 +02:00
inputs.fqtest interp: Fix handling of group decode error from stdin 2022-01-23 12:41:31 +01:00
match.fqtest interp: Remove buffer smartness for regexp match functions 2022-01-05 21:13:39 +01:00
noconfiginit.fqtest cli: Add completion tests 2021-09-12 13:08:49 +02:00
options.fqtest interp: Support force decode as -o force=true 2022-02-05 17:24:42 +01:00
output.fqtest cli: more jq compat 2021-09-12 13:08:55 +02:00
raw.fqtest decode: Major decode API refactor 2021-11-15 21:12:07 +01:00
repl.fqtest repl: Make prompt for array and iter more jqish 2022-01-10 20:02:43 +01:00
string_input.fqtest fqtest: Refactor our script part to own package 2021-10-06 18:49:03 +02:00
test.mp3 Init 2021-09-12 13:08:42 +02:00
torepr.fqtest interp: Add torepr/0 that converts decode value into what it reptresents 2022-01-12 17:33:58 +01:00
tovalue.fqtest interp: Add missing default opts for tovalue 2022-02-07 17:11:51 +01:00
value_array.fqtest binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
value_boolean.fqtest binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
value_json_array.fqtest binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
value_json_object.fqtest binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
value_null.fqtest binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
value_number.fqtest binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
value_object.fqtest binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
value_string.fqtest binary,decode,doc: Rename buffer to binary and add some documentation 2022-02-08 22:20:28 +01:00
value_t.fqtest.tmpl gojq: Initial update support 2021-09-12 13:08:50 +02:00
value_t.fqtest.tmpl.sh gojq: Initial update support 2021-09-12 13:08:50 +02:00
value.fqtest interp: Add ._index for values in arrays 2021-12-10 18:19:11 +01:00
var.fqtest interp: dump: Indicate arrays using jq-syntax 2021-12-08 16:24:28 +01:00
version.fqtest fq: Add arch and os to --version 2022-01-26 18:09:59 +01:00