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:
63d9ed8
)
Check status field value after patch (#22)
author
Jae-Won Chung
<jwnchung@umich.edu>
Wed, 22 May 2024 09:00:51 +0000
(
05:00
-0400)
committer
GitHub
<noreply@github.com>
Wed, 22 May 2024 09:00:51 +0000
(11:00 +0200)
exercises/07_threads/10_patch/tests/check.rs
patch
|
blob
|
history
diff --git
a/exercises/07_threads/10_patch/tests/check.rs
b/exercises/07_threads/10_patch/tests/check.rs
index
466f412
..
c7d6513
100644
(file)
--- a/
exercises/07_threads/10_patch/tests/check.rs
+++ b/
exercises/07_threads/10_patch/tests/check.rs
@@
-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);
}