From 000002009f7b4a1a8583b869c66e6f462ae6a2cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Sun, 4 Dec 2022 21:26:46 +0100 Subject: [PATCH] feat: trim input in tests --- src/bin/prepare.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/prepare.rs b/src/bin/prepare.rs index 2bc92af..b04aa83 100644 --- a/src/bin/prepare.rs +++ b/src/bin/prepare.rs @@ -25,12 +25,12 @@ mod tests { #[test] fn test_part_one() { let input = aoc::read_file("test_inputs", DAY); - assert_eq!(part_one(&input), None); + assert_eq!(part_one(&input.trim()), None); } #[test] fn test_part_two() { let input = aoc::read_file("test_inputs", DAY); - assert_eq!(part_two(&input), None); + assert_eq!(part_two(&input.trim()), None); } } "###;