projects
/
rust_exercises.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d1d90f
)
fixes usage valid_description
author
Arnau Diaz
<diazarnau0@gmail.com>
Fri, 17 May 2024 09:46:20 +0000
(11:46 +0200)
committer
Arnau Diaz
<diazarnau0@gmail.com>
Fri, 17 May 2024 09:46:20 +0000
(11:46 +0200)
exercises/03_ticket_v1/02_validation/src/lib.rs
patch
|
blob
|
history
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
(file)
--- 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]