summaryrefslogtreecommitdiffstats
path: root/tests/get.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/get.rs')
-rw-r--r--tests/get.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/get.rs b/tests/get.rs
index 7e3be8a..bf3ba78 100644
--- a/tests/get.rs
+++ b/tests/get.rs
@@ -206,6 +206,7 @@ fn test_struct_array() {
#[test]
fn test_enum() {
#[derive(Debug, Deserialize, PartialEq)]
+ #[serde(rename_all = "lowercase")]
enum Diode {
Off,
Brightness(i32),