Currently I'm not able to assert that my enum is correctly serialized using `serde_test`. Note that [`Serializer::serialize_unit_variant`](https://docs.rs/serde/1.0.144/serde/trait.Serializer.html#tymethod.serialize_unit_variant) accepts three arguments: ```rust fn serialize_unit_variant( self, name: &'static str, variant_index: u32, variant: &'static str, ) -> Result<Self::Ok, Self::Error>; ``` Only two of them are recorded in [`Token::UnitVariant`](https://docs.rs/serde_test/1.0.144/serde_test/enum.Token.html#variant.UnitVariant): ```rust pub enum Token { UnitVariant { name: &'static str, variant: &'static str, }, // ... } ``` I'd expect `variant_index` field to be recorded, though adding it now would require major version bump.
Currently I'm not able to assert that my enum is correctly serialized using
serde_test.Note that
Serializer::serialize_unit_variantaccepts three arguments:Only two of them are recorded in
Token::UnitVariant:I'd expect
variant_indexfield to be recorded, though adding it now would require major version bump.