diff options
Diffstat (limited to 'tests/get.rs')
-rw-r--r-- | tests/get.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/get.rs b/tests/get.rs index fe66d34..fc53207 100644 --- a/tests/get.rs +++ b/tests/get.rs @@ -211,7 +211,7 @@ fn test_struct_array() { #[test] fn test_enum() { - #[derive(Debug, Deserialize, PartialEq)] + #[derive(Debug, Deserialize, PartialEq, Eq)] #[serde(rename_all = "lowercase")] enum Diode { Off, @@ -268,7 +268,7 @@ fn test_enum_key() { #[test] fn test_int_key() { - #[derive(Debug, Deserialize, PartialEq)] + #[derive(Debug, Deserialize, PartialEq, Eq)] struct Settings { divisors: Map<u32, u32>, } |