reformat day5 test input

This commit is contained in:
2022-12-05 20:22:24 +01:00
parent 55655442a1
commit bdd3a1c440

View File

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