mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-28 21:42:06 +00:00
Fix options in tests
This commit is contained in:
parent
bd6b6e0365
commit
f0f93c4f79
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user