mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-11-16 19:50:44 +01:00
fixes usage valid_description
This commit is contained in:
parent
7d1d90fb37
commit
d9b6b493e8
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue