summaryrefslogtreecommitdiff
path: root/json/tests/draft7
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2020-05-07 19:14:46 -0400
committerJulian Berman <Julian@GrayVines.com>2020-05-07 19:14:46 -0400
commitf29d5f1257477be48eaefd7f4d5d1ca245c4d556 (patch)
tree158a573ba5ddf79fa4398d08865df634eeeae4cc /json/tests/draft7
parent2b3544c1d496f5ccae64a87754e47bdd4b64b240 (diff)
parentcc583dfc91cd036d98fdd75ccdb48c16d0d0e945 (diff)
downloadjsonschema-f29d5f1257477be48eaefd7f4d5d1ca245c4d556.tar.gz
Merge commit 'cc583dfc91cd036d98fdd75ccdb48c16d0d0e945'
* commit 'cc583dfc91cd036d98fdd75ccdb48c16d0d0e945': Squashed 'json/' changes from 361620ecf..9d0e0eb31
Diffstat (limited to 'json/tests/draft7')
-rw-r--r--json/tests/draft7/type.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/json/tests/draft7/type.json b/json/tests/draft7/type.json
index 05e0808..8304647 100644
--- a/json/tests/draft7/type.json
+++ b/json/tests/draft7/type.json
@@ -60,6 +60,11 @@
"valid": true
},
{
+ "description": "a float with zero fractional part is a number (and an integer)",
+ "data": 1.0,
+ "valid": true
+ },
+ {
"description": "a float is a number",
"data": 1.1,
"valid": true