diff --git a/src/day05.rs b/src/day05.rs index 5bfd5a7..4c085fc 100644 --- a/src/day05.rs +++ b/src/day05.rs @@ -115,8 +115,11 @@ fn parse_crate_single(input: &str) -> IResult<&str, Option<&str>> { mod tests { use super::*; - // Input slightly mangled like this due to rustfmt/intellijfmt stripping trailing spaces - const INPUT: &str = " [D] \n[N] [C] \n[Z] [M] [P]\n 1 2 3 \n + const INPUT: &str = " [D] +[N] [C] +[Z] [M] [P] + 1 2 3 + move 1 from 2 to 1 move 3 from 1 to 3 move 2 from 2 to 1