From 8996fa750285b3b29446a708c3a888272156c873 Mon Sep 17 00:00:00 2001
From: Amy Gurski <49253356+amygurski@users.noreply.github.com>
Date: Sat, 8 Aug 2020 22:00:29 -0400
Subject: [PATCH] fix: rosetta day of week typos (#39380)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
---
.../rosetta-code/day-of-the-week.english.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/day-of-the-week.english.md b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/day-of-the-week.english.md
index a99b5f0648..330fa129eb 100644
--- a/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/day-of-the-week.english.md
+++ b/curriculum/challenges/english/10-coding-interview-prep/rosetta-code/day-of-the-week.english.md
@@ -23,11 +23,11 @@ Write a function that takes a start year and an end year and return an array of
tests:
- text: findXmasSunday
should be a function.
testString: assert(typeof findXmasSunday === 'function');
- - text: findChristmasSunday(2000, 2100)
should return an array.
+ - text: findXmasSunday(2000, 2100)
should return an array.
testString: assert(typeof findXmasSunday(2000, 2100) === 'object');
- - text: findChristmasSunday(2008, 2121
should return [1977, 1983, 1988, 1994, 2005, 2011, 2016]
+ - text: findXmasSunday(2008, 2121)
should return [1977, 1983, 1988, 1994, 2005, 2011, 2016]
testString: assert.deepEqual(findXmasSunday(1970, 2017), firstSolution);
- - text: findChristmasSunday(2008, 2121
should return [2011, 2016, 2022, 2033, 2039, 2044, 2050, 2061, 2067, 2072, 2078, 2089, 2095, 2101, 2107, 2112, 2118]
+ - 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);
```