summaryrefslogtreecommitdiffstats
path: root/tests/get.rs
diff options
context:
space:
mode:
authorRyan Leckey <ryan@launchbadge.com>2019-12-07 18:14:13 -0800
committerRyan Leckey <ryan@launchbadge.com>2019-12-07 18:14:13 -0800
commit8fb71a3051c0c09f37129d9c1884c778a4ea4cea (patch)
tree39e5f98f19b0633314ed9aca750e6b0263bf19a6 /tests/get.rs
parent51ae442e74f0a9d99707a5887afa9159985ad104 (diff)
Remove automatic lowercase
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),