From: Arnau Diaz Date: Fri, 17 May 2024 09:46:20 +0000 (+0200) Subject: fixes usage valid_description X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=d9b6b493e803222554e112edb9fbeef464d3a7f9;p=rust_exercises.git fixes usage valid_description --- diff --git a/exercises/03_ticket_v1/02_validation/src/lib.rs b/exercises/03_ticket_v1/02_validation/src/lib.rs index 25e43a9..6fbdc67 100644 --- a/exercises/03_ticket_v1/02_validation/src/lib.rs +++ b/exercises/03_ticket_v1/02_validation/src/lib.rs @@ -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]