mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 11:28:02 +00:00
Merge pull request #2466 from Mingun/fix-de-count-of-field
Fix incorrect count of fields passed to tuple deserialization methods
This commit is contained in:
@@ -1533,7 +1533,7 @@ fn test_invalid_length_enum() {
|
||||
Token::TupleVariant {
|
||||
name: "InvalidLengthEnum",
|
||||
variant: "B",
|
||||
len: 3,
|
||||
len: 2,
|
||||
},
|
||||
Token::I32(1),
|
||||
Token::TupleVariantEnd,
|
||||
|
||||
Reference in New Issue
Block a user