fix failing tests

This commit is contained in:
ktims committed 2026-12-02 13:51:10 -07:00
1 parent b9478fbb6b
commit ba83989539
14 files changed
+51 -149

No files matched your search

+1 -4
View File
@@ -99,10 +99,7 @@ fn parse(input: &str) -> Database {
}
if parsing_ranges {
let (start, end) = line.split_once('-').unwrap();
fresh_ingredients.push(RangeInclusive::new(
start.parse().unwrap(),
end.parse().unwrap(),
));
fresh_ingredients.push(RangeInclusive::new(start.parse().unwrap(), end.parse().unwrap()));
} else {
available_ingredients.push(line.parse().unwrap())
}