libcruft-util/test/json/schema/signed_min.schema
Danny Robson d9713fe8b7 json/tree: fix signed min, unsigned max constraints
signed/unsigned casting issues prevented correct comparisons with the
min/max constraints. account for the source type's range before doing the
comparison.
2016-09-20 16:02:08 +10:00

2 lines
36 B
Plaintext

{ "type": "number", "minimum": -1 }