mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-12-26 21:58:49 +01:00
Fix test.
This commit is contained in:
parent
33444dfeee
commit
22c029fea5
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ mod tests {
|
|||
description: ticket_description(),
|
||||
status: Status::InProgress,
|
||||
};
|
||||
store.add_ticket(in_progress);
|
||||
store.add_ticket(in_progress.clone());
|
||||
|
||||
let in_progress_tickets: Vec<&Ticket> = store.in_progress().collect();
|
||||
assert_eq!(in_progress_tickets.len(), 1);
|
||||
|
|
Loading…
Reference in a new issue