Skip to content

Commit 377a39a

Browse files
PakkuDonmatthewmorgan
authored andcommitted
Update Leap tests to match canonical data in v1.4.0 (#516)
New test added in exercism/problem-specifications#1359
1 parent 63a8593 commit 377a39a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

exercises/leap/leap.spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ describe('A leap year', () => {
1616
xtest('year divisible by 400: leap year', () => {
1717
expect(isLeap(2000)).toBeTruthy();
1818
});
19+
20+
xtest('year divisible by 200, not divisible by 400: common year', () => {
21+
expect(isLeap(1800)).toBeFalsy();
22+
});
1923
});

0 commit comments

Comments
 (0)