Skip to content

Commit 741f29e

Browse files
committed
leap: Fix canonical-data.json formatting
1 parent 7b71ab7 commit 741f29e

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

exercises/leap/canonical-data.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,30 @@
44
"comments": [
55
"Given a Gregorian calendar year, indicate whether it is a leap year."
66
],
7-
87
"cases": [
98
{
10-
"description": "year not divisible by 4: common year",
11-
"property": "notLeap",
12-
"input": 2015,
13-
"expected": false
9+
"description": "year not divisible by 4: common year",
10+
"property": "notLeap",
11+
"input": 2015,
12+
"expected": false
1413
},
1514
{
16-
"description": "year divisible by 4, not divisible by 100: leap year",
17-
"property": "isLeap",
18-
"input": 2016,
19-
"expected": true
15+
"description": "year divisible by 4, not divisible by 100: leap year",
16+
"property": "isLeap",
17+
"input": 2016,
18+
"expected": true
2019
},
2120
{
22-
"description": "year divisible by 100, not divisible by 400: common year",
23-
"property": "notLeap",
24-
"input": 2100,
25-
"expected": false
21+
"description": "year divisible by 100, not divisible by 400: common year",
22+
"property": "notLeap",
23+
"input": 2100,
24+
"expected": false
2625
},
2726
{
28-
"description": "year divisible by 400: leap year",
29-
"property": "isLeap",
30-
"input": 2000,
31-
"expected": true
27+
"description": "year divisible by 400: leap year",
28+
"property": "isLeap",
29+
"input": 2000,
30+
"expected": true
3231
}
3332
]
3433
}

0 commit comments

Comments
 (0)