diff options
author | Julian Berman <Julian@GrayVines.com> | 2020-10-04 11:58:30 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2020-10-04 11:58:30 -0400 |
commit | 918803aa556f4f87d6b952af316d47ecaf089164 (patch) | |
tree | 66db3186e821014696d7ca651109ce98b2142847 /tests/draft2019-09/multipleOf.json | |
parent | 1a4ea00149e70383506f24648bfb52a2278fe3f7 (diff) | |
download | jsonschema-918803aa556f4f87d6b952af316d47ecaf089164.tar.gz |
Squashed 'json/' changes from 21555a85..96742ba3
96742ba3 Merge pull request #438 from Zac-HD/overflow-with-multipleOf
c5ba4ba3 Check for multipleOf overflow
c12b0db8 Merge pull request #437 from gregsdennis/if-then-else-sequencing
bd148eb7 copy/paste error
3ca7c419 Added if/then/else sequencing tests; resolves #436
fa73bc8d Merge pull request #435 from jviotti/unevaluated-items-typo
2d6de7cb Fix "unevaluted" typos in "unevaluatedItems" suite
2a9be81d Merge pull request #1 from json-schema-org/master
git-subtree-dir: json
git-subtree-split: 96742ba3c4a1eff6de45f0c50a66a975796b7c37
Diffstat (limited to 'tests/draft2019-09/multipleOf.json')
-rw-r--r-- | tests/draft2019-09/multipleOf.json | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/draft2019-09/multipleOf.json b/tests/draft2019-09/multipleOf.json index ca3b761..faa87cf 100644 --- a/tests/draft2019-09/multipleOf.json +++ b/tests/draft2019-09/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 + } + ] } ] |