chore: Make sure the test is testing something is correct shape

This commit is contained in:
J H
2023-11-08 15:53:29 -07:00
parent 40b19c5e67
commit 18cd6c81a3

View File

@@ -179,5 +179,7 @@ impl<'de> Deserialize<'de> for NoOutput {
#[test]
fn test_deser_no_output() {
serde_json::from_str::<NoOutput>("").unwrap();
serde_json::from_str::<Result<NoOutput, NoOutput>>("{\"Ok\": null}").unwrap();
serde_json::from_str::<Result<NoOutput, NoOutput>>("{\"Ok\": null}")
.unwrap()
.unwrap();
}