mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-22 05:31:02 +00:00
Enable a missing field test
This commit is contained in:
@@ -685,10 +685,8 @@ fn test_parse_option() {
|
|||||||
x: Option<isize>,
|
x: Option<isize>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
let value: Foo = from_str("{}").unwrap();
|
let value: Foo = from_str("{}").unwrap();
|
||||||
assert_eq!(value, Foo { x: None });
|
assert_eq!(value, Foo { x: None });
|
||||||
*/
|
|
||||||
|
|
||||||
test_parse_ok(&[
|
test_parse_ok(&[
|
||||||
("{\"x\": null}", Foo { x: None }),
|
("{\"x\": null}", Foo { x: None }),
|
||||||
|
|||||||
Reference in New Issue
Block a user