From 18cd6c81a3686807004d5cf3f9ae797e5c2774bb Mon Sep 17 00:00:00 2001 From: J H <2364004+Blu-J@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:53:29 -0700 Subject: [PATCH] chore: Make sure the test is testing something is correct shape --- backend/src/procedure/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/procedure/mod.rs b/backend/src/procedure/mod.rs index 02449a076..7c02a03d5 100644 --- a/backend/src/procedure/mod.rs +++ b/backend/src/procedure/mod.rs @@ -179,5 +179,7 @@ impl<'de> Deserialize<'de> for NoOutput { #[test] fn test_deser_no_output() { serde_json::from_str::("").unwrap(); - serde_json::from_str::>("{\"Ok\": null}").unwrap(); + serde_json::from_str::>("{\"Ok\": null}") + .unwrap() + .unwrap(); }