From d9b6b493e803222554e112edb9fbeef464d3a7f9 Mon Sep 17 00:00:00 2001 From: Arnau Diaz Date: Fri, 17 May 2024 11:46:20 +0200 Subject: [PATCH] fixes usage valid_description --- exercises/03_ticket_v1/02_validation/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]