diff --git a/javascript/src/season.js b/javascript/src/season.js index 143a345e3..22cdc9fe1 100644 --- a/javascript/src/season.js +++ b/javascript/src/season.js @@ -5,7 +5,7 @@ const Animal = { class Season { getCurrent() { - return Animal.Duck; + return Animal.Rabbit; } } diff --git a/rust/tests/new_tests.rs b/rust/tests/new_tests.rs index 6dd135555..eec2d77ad 100644 --- a/rust/tests/new_tests.rs +++ b/rust/tests/new_tests.rs @@ -3,15 +3,15 @@ mod tests { use chrono::{Datelike, Local, Timelike}; #[test] - fn it_is_the_morning_of_jan_16() { + fn it_is_the_morning_of_jan_17() { let now = Local::now().with_timezone(&chrono_tz::America::Los_Angeles); assert_eq!(now.month(), 1); // check if the current month is 3 - assert_eq!(now.day(), 16); // check if the current day is 25 + assert_eq!(now.day(), 17); // check if the current day is 25 assert!(now.time().hour() < 12); // Check if the time is before noon } #[test] - fn it_is_the_afternoon_of_jan_16() { + fn it_is_the_afternoon_of_jan_17() { let now = Local::now().with_timezone(&chrono_tz::America::Los_Angeles); assert_eq!(now.month(), 3); // check if the current month is 3 assert_eq!(now.day(), 25); // check if the current day is 25