From f0f93c4f79d18ff85af6364837fc8157ec444125 Mon Sep 17 00:00:00 2001 From: Danny Weinberg Date: Wed, 15 Jul 2020 12:29:19 -0700 Subject: [PATCH] Fix options in tests --- tests/postgres/derives.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/postgres/derives.rs b/tests/postgres/derives.rs index e13fc6fd..bd45d843 100644 --- a/tests/postgres/derives.rs +++ b/tests/postgres/derives.rs @@ -51,7 +51,7 @@ enum ColorSnake { #[derive(PartialEq, Debug, sqlx::Type)] #[sqlx(rename = "color_upper")] -#[sqlx(rename_all = "uppercase")] +#[sqlx(rename_all = "UPPERCASE")] enum ColorUpper { Red, Green, @@ -60,7 +60,7 @@ enum ColorUpper { #[derive(PartialEq, Debug, sqlx::Type)] #[sqlx(rename = "color_screaming_snake")] -#[sqlx(rename_all = "screaming_snake_case")] +#[sqlx(rename_all = "SCREAMING_SNAKE_CASE")] enum ColorScreamingSnake { RedGreen, BlueBlack,