We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fccc9c commit 93d699cCopy full SHA for 93d699c
xsd-parser/tests/union/expected.rs
@@ -1,7 +1,7 @@
1
#[derive(PartialEq, Debug, UtilsUnionSerDe)]
2
pub enum FooType {
3
- Int(i32),
4
- String(String),
+ int(i32),
+ string(String),
5
__Unknown__(String),
6
}
7
xsd-parser/tests/union/mod.rs
@@ -13,7 +13,7 @@ fn deserialization_works() {
13
14
let de: expected::FooType = yaserde::de::from_str(ser).unwrap();
15
16
- assert_eq!(de, expected::FooType::String("string".to_string()));
+ assert_eq!(de, expected::FooType::string("string".to_string()));
17
18
19
#[test]
0 commit comments