mirror of
https://github.com/kristoferssolo/Advent-of-Code.git
synced 2026-02-04 14:12:02 +00:00
fix daily-template
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
use color_eyre::Result;
|
||||
|
||||
pub fn process(input: &str) -> Result<()> {
|
||||
pub fn process(input: &str) -> Result<u32> {
|
||||
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(())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
use color_eyre::Result;
|
||||
|
||||
pub fn process(input: &str) -> Result<()> {
|
||||
pub fn process(input: &str) -> Result<u32> {
|
||||
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(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user