mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-12-25 21:58:26 +01:00
Check status field value after patch (#22)
This commit is contained in:
parent
63d9ed8478
commit
9bda4eb7e0
1 changed files with 2 additions and 1 deletions
|
@ -26,5 +26,6 @@ fn works() {
|
|||
client.update(patch).unwrap();
|
||||
|
||||
let ticket = client.get(ticket_id).unwrap().unwrap();
|
||||
assert_eq!(ticket_id, ticket.id);
|
||||
assert_eq!(ticket.id, ticket_id);
|
||||
assert_eq!(ticket.status, Status::InProgress);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue