fixes usage valid_description
authorArnau Diaz <diazarnau0@gmail.com>
Fri, 17 May 2024 09:46:20 +0000 (11:46 +0200)
committerArnau Diaz <diazarnau0@gmail.com>
Fri, 17 May 2024 09:46:20 +0000 (11:46 +0200)
exercises/03_ticket_v1/02_validation/src/lib.rs

index 25e43a9..6fbdc67 100644 (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]