From 59e09a0eb7747d08b73d92f0e5c3a60c98fece1c Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Mon, 4 Dec 2023 16:14:29 +0200 Subject: [PATCH] fix daily-template --- 2023/daily-template/src/part1.rs | 5 +++-- 2023/daily-template/src/part2.rs | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/2023/daily-template/src/part1.rs b/2023/daily-template/src/part1.rs index b29f414..f009875 100644 --- a/2023/daily-template/src/part1.rs +++ b/2023/daily-template/src/part1.rs @@ -1,7 +1,8 @@ use color_eyre::Result; -pub fn process(input: &str) -> Result<()> { +pub fn process(input: &str) -> Result { todo!("day xx - part 1"); + Ok(0) } #[cfg(test)] @@ -12,7 +13,7 @@ mod tests { fn test_process() -> Result<()> { let input = ""; todo!("haven't built test yet"); - assert_eq!("", process(input)?); + assert_eq!(0, process(input)?); Ok(()) } } diff --git a/2023/daily-template/src/part2.rs b/2023/daily-template/src/part2.rs index eb23892..b2f0774 100644 --- a/2023/daily-template/src/part2.rs +++ b/2023/daily-template/src/part2.rs @@ -1,7 +1,8 @@ use color_eyre::Result; -pub fn process(input: &str) -> Result<()> { +pub fn process(input: &str) -> Result { todo!("day xx - part 2"); + Ok(0) } #[cfg(test)] @@ -12,7 +13,7 @@ mod tests { fn test_process() -> Result<()> { let input = ""; todo!("haven't built test yet"); - assert_eq!("", process(input)?); + assert_eq!(0, process(input)?); Ok(()) } }