From 9bda4eb7e095084b0500175c5961395a742a98f8 Mon Sep 17 00:00:00 2001 From: Jae-Won Chung Date: Wed, 22 May 2024 05:00:51 -0400 Subject: [PATCH] Check status field value after patch (#22) --- exercises/07_threads/10_patch/tests/check.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/07_threads/10_patch/tests/check.rs b/exercises/07_threads/10_patch/tests/check.rs index 466f412..c7d6513 100644 --- 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); } -- 2.45.2