nim-json-serialization/tests
Jacek Sieka 6eadb6e939
check length before converting to range type (#102)
The index type of an array is a `range` meaning that converting an
out-of-bounds value to it will raise a `Defect`.

This PR fixes the defect but does nothing for arrays which are not
"full" - probably, this should become an error.

* bump version
2024-10-19 11:28:17 +02:00
..
cases Update `nimbus-eth2` reference (#94) 2024-07-24 13:34:36 +00:00
test_vectors Add test vectors 2023-12-25 22:55:11 +07:00
nim.cfg Add copyright year to source file 2023-12-25 22:55:07 +07:00
test_all.nim Fix JsonValueRef.Object comparison 2024-02-29 13:58:51 +07:00
test_json_flavor.nim Add compile time switch to alter encoder enum representation (#95) 2024-07-27 07:27:11 +07:00
test_lexer.nim add lexer test cases (#76) 2024-01-15 07:02:08 +00:00
test_line_col.nim Improve lexer flexibility 2023-12-26 16:03:46 +07:00
test_parser.nim Add test for nim compiler regression 23233 2024-01-23 09:15:31 +07:00
test_reader.nim check length before converting to range type (#102) 2024-10-19 11:28:17 +02:00
test_serialization.nim fix stylecheck for BiggestUInt (#99) 2024-10-10 12:26:09 +00:00
test_spec.nim Improve lexer flexibility 2023-12-26 16:03:46 +07:00
test_valueref.nim Add JsonValueRef compare operation (#89) 2024-03-20 21:32:43 +07:00
test_writer.nim Fix import stew/results to pkg/results (#101) 2024-10-15 18:24:47 +07:00
utils.nim Improve lexer flexibility 2023-12-26 16:03:46 +07:00