From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- .../json/tests/latest/exclusiveMaximum.json | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 third_party/python/jsonschema/json/tests/latest/exclusiveMaximum.json (limited to 'third_party/python/jsonschema/json/tests/latest/exclusiveMaximum.json') diff --git a/third_party/python/jsonschema/json/tests/latest/exclusiveMaximum.json b/third_party/python/jsonschema/json/tests/latest/exclusiveMaximum.json new file mode 100644 index 0000000000..dc3cd709d3 --- /dev/null +++ b/third_party/python/jsonschema/json/tests/latest/exclusiveMaximum.json @@ -0,0 +1,30 @@ +[ + { + "description": "exclusiveMaximum validation", + "schema": { + "exclusiveMaximum": 3.0 + }, + "tests": [ + { + "description": "below the exclusiveMaximum is valid", + "data": 2.2, + "valid": true + }, + { + "description": "boundary point is invalid", + "data": 3.0, + "valid": false + }, + { + "description": "above the exclusiveMaximum is invalid", + "data": 3.5, + "valid": false + }, + { + "description": "ignores non-numbers", + "data": "x", + "valid": true + } + ] + } +] -- cgit v1.2.3