mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-05-30 19:51:06 +00:00
Move test for untagged-variant-from-unit where it belongs
This commit is contained in:
@@ -137,12 +137,6 @@ enum EnumOther {
|
||||
Other,
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Debug, Deserialize)]
|
||||
#[serde(untagged)]
|
||||
enum EnumUntaggedUnit {
|
||||
Unit,
|
||||
}
|
||||
|
||||
#[derive(PartialEq, Debug)]
|
||||
struct IgnoredAny;
|
||||
|
||||
@@ -794,9 +788,6 @@ declare_tests! {
|
||||
Token::Unit,
|
||||
],
|
||||
}
|
||||
test_enum_untagged_unit_from_none {
|
||||
EnumUntaggedUnit::Unit => &[Token::None],
|
||||
}
|
||||
test_box {
|
||||
Box::new(0i32) => &[Token::I32(0)],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user