diff options
Diffstat (limited to 'json/tests/draft7/optional/bignum.json')
-rw-r--r-- | json/tests/draft7/optional/bignum.json | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/json/tests/draft7/optional/bignum.json b/json/tests/draft7/optional/bignum.json index fac275e..3f49226 100644 --- a/json/tests/draft7/optional/bignum.json +++ b/json/tests/draft7/optional/bignum.json @@ -1,30 +1,13 @@ [ { "description": "integer", - "schema": {"type": "integer"}, + "schema": { "type": "integer" }, "tests": [ { "description": "a bignum is an integer", "data": 12345678910111213141516171819202122232425262728293031, "valid": true - } - ] - }, - { - "description": "number", - "schema": {"type": "number"}, - "tests": [ - { - "description": "a bignum is a number", - "data": 98249283749234923498293171823948729348710298301928331, - "valid": true - } - ] - }, - { - "description": "integer", - "schema": {"type": "integer"}, - "tests": [ + }, { "description": "a negative bignum is an integer", "data": -12345678910111213141516171819202122232425262728293031, @@ -34,9 +17,14 @@ }, { "description": "number", - "schema": {"type": "number"}, + "schema": { "type": "number" }, "tests": [ { + "description": "a bignum is a number", + "data": 98249283749234923498293171823948729348710298301928331, + "valid": true + }, + { "description": "a negative bignum is a number", "data": -98249283749234923498293171823948729348710298301928331, "valid": true @@ -45,7 +33,7 @@ }, { "description": "string", - "schema": {"type": "string"}, + "schema": { "type": "string" }, "tests": [ { "description": "a bignum is not a string", @@ -56,7 +44,7 @@ }, { "description": "integer comparison", - "schema": {"maximum": 18446744073709551615}, + "schema": { "maximum": 18446744073709551615 }, "tests": [ { "description": "comparison works for high numbers", @@ -80,7 +68,7 @@ }, { "description": "integer comparison", - "schema": {"minimum": -18446744073709551615}, + "schema": { "minimum": -18446744073709551615 }, "tests": [ { "description": "comparison works for very negative numbers", |