feat: trim input in tests
This commit is contained in:
parent
000001907c
commit
000002009f
|
@ -25,12 +25,12 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn test_part_one() {
|
fn test_part_one() {
|
||||||
let input = aoc::read_file("test_inputs", DAY);
|
let input = aoc::read_file("test_inputs", DAY);
|
||||||
assert_eq!(part_one(&input), None);
|
assert_eq!(part_one(&input.trim()), None);
|
||||||
}
|
}
|
||||||
#[test]
|
#[test]
|
||||||
fn test_part_two() {
|
fn test_part_two() {
|
||||||
let input = aoc::read_file("test_inputs", DAY);
|
let input = aoc::read_file("test_inputs", DAY);
|
||||||
assert_eq!(part_two(&input), None);
|
assert_eq!(part_two(&input.trim()), None);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"###;
|
"###;
|
||||||
|
|
Loading…
Reference in New Issue