From 13e7251ed9d1fb914bcc68cc0597e364638488d2 Mon Sep 17 00:00:00 2001 From: Ke Cleveland <17851461+kecleveland@users.noreply.github.com> Date: Sat, 17 Oct 2020 16:46:03 -0400 Subject: [PATCH] fix(learn): Update findXmasSunday function arguments from (2008,2121) to (1970, 2017) to match expected return. (#39996) Co-authored-by: keiveland --- .../10-coding-interview-prep/rosetta-code/day-of-the-week.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/day-of-the-week.md b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/day-of-the-week.md index 87de4d47cf..89c4f59879 100644 --- a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/day-of-the-week.md +++ b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/day-of-the-week.md @@ -24,7 +24,7 @@ tests: testString: assert(typeof findXmasSunday === 'function'); - text: findXmasSunday(2000, 2100) should return an array. testString: assert(typeof findXmasSunday(2000, 2100) === 'object'); - - text: findXmasSunday(2008, 2121) should return [1977, 1983, 1988, 1994, 2005, 2011, 2016] + - text: findXmasSunday(1970, 2017) should return [1977, 1983, 1988, 1994, 2005, 2011, 2016] testString: assert.deepEqual(findXmasSunday(1970, 2017), firstSolution); - text: findXmasSunday(2008, 2121) should return [2011, 2016, 2022, 2033, 2039, 2044, 2050, 2061, 2067, 2072, 2078, 2089, 2095, 2101, 2107, 2112, 2118] testString: assert.deepEqual(findXmasSunday(2008, 2121), secondSolution);