diff options
Diffstat (limited to 'tests/draft7/multipleOf.json')
-rw-r--r-- | tests/draft7/multipleOf.json | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/draft7/multipleOf.json b/tests/draft7/multipleOf.json index ca3b761..faa87cf 100644 --- a/tests/draft7/multipleOf.json +++ b/tests/draft7/multipleOf.json @@ -56,5 +56,16 @@ "valid": false } ] + }, + { + "description": "invalid instance should not raise error when float division = inf", + "schema": {"type": "integer", "multipleOf": 0.123456789}, + "tests": [ + { + "description": "always invalid, but naive implementations may raise an overflow error", + "data": 1e308, + "valid": false + } + ] } ] |