mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
chore: Make sure the test is testing something is correct shape
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user