fixes usage valid_description

This commit is contained in:
Arnau Diaz 2024-05-17 11:46:20 +02:00
parent 7d1d90fb37
commit d9b6b493e8
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ mod tests {
#[test] #[test]
#[should_panic(expected = "Title cannot be empty")] #[should_panic(expected = "Title cannot be empty")]
fn title_cannot_be_empty() { fn title_cannot_be_empty() {
Ticket::new("".into(), valid_title(), "To-Do".into()); Ticket::new("".into(), valid_description(), "To-Do".into());
} }
#[test] #[test]