Skip to content

Commit 5f6a91d

Browse files
committed
Fix linting issues
1 parent fe9a287 commit 5f6a91d

File tree

13 files changed

+24
-49
lines changed

13 files changed

+24
-49
lines changed

tests/draft-next/optional/integer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"tests": [
99
{
10-
"description": "a small float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
10+
"description": "a small float whose fractional part is truncated is not an integer",
1111
"data": 1.00000000000001,
1212
"valid": false
1313
},
1414
{
15-
"description": "a large float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
15+
"description": "a large float whose fractional part is truncated is not an integer",
1616
"data": 9007199254740991.5,
1717
"valid": false
1818
}

tests/draft-next/type.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"valid": true
3333
},
3434
{
35-
"description": "a float with an exponent and a zero-value fractional part is an integer",
35+
"description": "a float with an exponent and zero-value fractional part is an integer",
3636
"data": 1.1e1,
3737
"valid": true
3838
},

tests/draft2019-09/optional/integer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"tests": [
99
{
10-
"description": "a small float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
10+
"description": "a small float whose fractional part is truncated is not an integer",
1111
"data": 1.00000000000001,
1212
"valid": false
1313
},
1414
{
15-
"description": "a large float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
15+
"description": "a large float whose fractional part is truncated is not an integer",
1616
"data": 9007199254740991.5,
1717
"valid": false
1818
}

tests/draft2019-09/type.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"valid": true
2828
},
2929
{
30-
"description": "a float a with zero-value fractional part is an integer",
30+
"description": "a float with zero-value fractional part is an integer",
3131
"data": 1.0,
3232
"valid": true
3333
},
3434
{
35-
"description": "a float with an exponent and a zero-value fractional part is an integer",
35+
"description": "a float with an exponent and zero-value fractional part is an integer",
3636
"data": 1.1e1,
3737
"valid": true
3838
},

tests/draft2020-12/optional/integer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
},
88
"tests": [
99
{
10-
"description": "a small float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
10+
"description": "a small float whose fractional part is truncated is not an integer",
1111
"data": 1.00000000000001,
1212
"valid": false
1313
},
1414
{
15-
"description": "a large float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
15+
"description": "a large float whose fractional part is truncated is not an integer",
1616
"data": 9007199254740991.5,
1717
"valid": false
1818
}

tests/draft2020-12/type.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"valid": true
2828
},
2929
{
30-
"description": "a float a with zero-value fractional part is an integer",
30+
"description": "a float with zero-value fractional part is an integer",
3131
"data": 1.0,
3232
"valid": true
3333
},
3434
{
35-
"description": "a float with an exponent and a zero-value fractional part is an integer",
35+
"description": "a float with an exponent and zero-value fractional part is an integer",
3636
"data": 1.1e1,
3737
"valid": true
3838
},

tests/draft3/optional/integer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
},
77
"tests": [
88
{
9-
"description": "a small float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
9+
"description": "a small float whose fractional part is truncated is not an integer",
1010
"data": 1.00000000000001,
1111
"valid": false
1212
},
1313
{
14-
"description": "a large float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
14+
"description": "a large float whose fractional part is truncated is not an integer",
1515
"data": 9007199254740991.5,
1616
"valid": false
1717
}

tests/draft3/type.json

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,7 @@
2424
"valid": true
2525
},
2626
{
27-
"description": "a float with zero fractional part is an integer",
28-
"data": 1.0,
29-
"valid": true
30-
},
31-
{
32-
"description": "a float with an exponent and a zero fractional part is an integer",
33-
"data": 1e0,
34-
"valid": true
35-
},
36-
{
37-
"description": "a small float whose non-zero fractional part is truncated in a binary64 float is an integer",
38-
"data": 1.00000000000001,
39-
"valid": true
40-
},
41-
{
42-
"description": "a large float whose non-zero fractional part is truncated in a binary64 float is an integer",
43-
"data": 9007199254740991.5,
44-
"valid": true
45-
},
46-
{
47-
"description": "a number near the maximum representable value for a binary64 float is an integer",
48-
"data": 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368,
49-
"valid": true
50-
},
51-
{
52-
"description": "a float with a non-zero fractional part is not an integer",
27+
"description": "a float with a nonzero-value fractional part is not an integer",
5328
"data": 1.1,
5429
"valid": false
5530
},

tests/draft4/optional/integer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
},
77
"tests": [
88
{
9-
"description": "a small float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
9+
"description": "a small float whose fractional part is truncated is not an integer",
1010
"data": 1.00000000000001,
1111
"valid": false
1212
},
1313
{
14-
"description": "a large float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
14+
"description": "a large float whose fractional part is truncated is not an integer",
1515
"data": 9007199254740991.5,
1616
"valid": false
1717
}

tests/draft6/optional/integer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
},
77
"tests": [
88
{
9-
"description": "a small float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
9+
"description": "a small float whose fractional part is truncated is not an integer",
1010
"data": 1.00000000000001,
1111
"valid": false
1212
},
1313
{
14-
"description": "a large float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
14+
"description": "a large float whose fractional part is truncated is not an integer",
1515
"data": 9007199254740991.5,
1616
"valid": false
1717
}

tests/draft6/type.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
"valid": true
2525
},
2626
{
27-
"description": "a float a with zero-value fractional part is an integer",
27+
"description": "a float with zero-value fractional part is an integer",
2828
"data": 1.0,
2929
"valid": true
3030
},
3131
{
32-
"description": "a float with an exponent and a zero-value fractional part is an integer",
32+
"description": "a float with an exponent and zero-value fractional part is an integer",
3333
"data": 1.1e1,
3434
"valid": true
3535
},

tests/draft7/optional/integer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
},
77
"tests": [
88
{
9-
"description": "a small float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
9+
"description": "a small float whose fractional part is truncated is not an integer",
1010
"data": 1.00000000000001,
1111
"valid": false
1212
},
1313
{
14-
"description": "a large float whose nonzero-value fractional part is truncated in a binary64 float is not an integer",
14+
"description": "a large float whose fractional part is truncated is not an integer",
1515
"data": 9007199254740991.5,
1616
"valid": false
1717
}

tests/draft7/type.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
"valid": true
2525
},
2626
{
27-
"description": "a float a with zero-value fractional part is an integer",
27+
"description": "a float with zero-value fractional part is an integer",
2828
"data": 1.0,
2929
"valid": true
3030
},
3131
{
32-
"description": "a float with an exponent and a zero-value fractional part is an integer",
32+
"description": "a float with an exponent and zero-value fractional part is an integer",
3333
"data": 1.1e1,
3434
"valid": true
3535
},

0 commit comments

Comments
 (0)