Skip to content

Commit

Permalink
fix: correct test so invalid priority removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-pitblado committed Nov 6, 2024
1 parent 79b6b1b commit 4b6501f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ mod tests {
fn test_parse_with_invalid_priority_and_spaces() {
let input = "Check logs !8 immediately";
let expected = ParsedTask {
title: "Check logs !8 immediately".to_string(),
title: "Check logs immediately".to_string(),
priority: None,
};
let result = parse_task_input(input);
Expand Down

0 comments on commit 4b6501f

Please sign in to comment.