Skip to content

Commit cc583df

Browse files
committed
Squashed 'json/' changes from 361620ecf..9d0e0eb31
9d0e0eb31 Merge pull request #362 from karenetheridge/ether/1.0-is-number fadab68f9 1.0 is always a number (and an integer too for draft6+) git-subtree-dir: json git-subtree-split: 9d0e0eb31d6be6bebd3bacdd6be119a8841e9999
1 parent f40e3aa commit cc583df

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

tests/draft2019-09/type.json

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@
5959
"data": 1,
6060
"valid": true
6161
},
62+
{
63+
"description": "a float with zero fractional part is a number (and an integer)",
64+
"data": 1.0,
65+
"valid": true
66+
},
6267
{
6368
"description": "a float is a number",
6469
"data": 1.1,

tests/draft3/type.json

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
"data": 1,
5555
"valid": true
5656
},
57+
{
58+
"description": "a float with zero fractional part is a number",
59+
"data": 1.0,
60+
"valid": true
61+
},
5762
{
5863
"description": "a float is a number",
5964
"data": 1.1,

tests/draft4/type.json

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
"data": 1,
5555
"valid": true
5656
},
57+
{
58+
"description": "a float with zero fractional part is a number",
59+
"data": 1.0,
60+
"valid": true
61+
},
5762
{
5863
"description": "a float is a number",
5964
"data": 1.1,

tests/draft6/type.json

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@
5959
"data": 1,
6060
"valid": true
6161
},
62+
{
63+
"description": "a float with zero fractional part is a number (and an integer)",
64+
"data": 1.0,
65+
"valid": true
66+
},
6267
{
6368
"description": "a float is a number",
6469
"data": 1.1,

tests/draft7/type.json

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@
5959
"data": 1,
6060
"valid": true
6161
},
62+
{
63+
"description": "a float with zero fractional part is a number (and an integer)",
64+
"data": 1.0,
65+
"valid": true
66+
},
6267
{
6368
"description": "a float is a number",
6469
"data": 1.1,

0 commit comments

Comments
 (0)