fixes usage valid_description
This commit is contained in:
parent
7d1d90fb37
commit
d9b6b493e8
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue