fixes usage valid_description

This commit is contained in:
Arnau Diaz 2024-05-17 11:46:20 +02:00
parent 7d1d90fb37
commit d9b6b493e8

View file

@ -34,7 +34,7 @@ mod tests {
#[test]
#[should_panic(expected = "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]