mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-21 11:16:29 +00:00
Enable a missing field test
This commit is contained in:
1 parent
c6cc2340c8
commit
a6ba251ef9
1 file changed
-2
@@ -685,10 +685,8 @@ fn test_parse_option() {
|
||||
x: Option<isize>,
|
||||
}
|
||||
|
||||
/*
|
||||
let value: Foo = from_str("{}").unwrap();
|
||||
assert_eq!(value, Foo { x: None });
|
||||
*/
|
||||
|
||||
test_parse_ok(&[
|
||||
("{\"x\": null}", Foo { x: None }),
|
||||
|
||||
Reference in new issue
Block a user