@@ -3324,7 +3324,9 @@ fn parse_ceil_scale() {
33243324 assert_eq!(
33253325 &Expr::Ceil {
33263326 expr: Box::new(Expr::Identifier(Ident::new("d"))),
3327- field: CeilFloorKind::Scale(Value::Number(bigdecimal::BigDecimal::from(2), false).with_empty_span()),
3327+ field: CeilFloorKind::Scale(
3328+ Value::Number(bigdecimal::BigDecimal::from(2), false).with_empty_span()
3329+ ),
33283330 },
33293331 expr_from_projection(only(&select.projection)),
33303332 );
@@ -3348,7 +3350,9 @@ fn parse_floor_scale() {
33483350 assert_eq!(
33493351 &Expr::Floor {
33503352 expr: Box::new(Expr::Identifier(Ident::new("d"))),
3351- field: CeilFloorKind::Scale(Value::Number(bigdecimal::BigDecimal::from(2), false).with_empty_span()),
3353+ field: CeilFloorKind::Scale(
3354+ Value::Number(bigdecimal::BigDecimal::from(2), false).with_empty_span()
3355+ ),
33523356 },
33533357 expr_from_projection(only(&select.projection)),
33543358 );
@@ -17638,19 +17642,21 @@ fn parse_create_user() {
1763817642 options: vec![
1763917643 KeyValueOption {
1764017644 option_name: "PASSWORD".to_string(),
17641- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
17642- "secret".to_string()
17643- ).with_empty_span()) ,
17645+ option_value: KeyValueOptionKind::Single(
17646+ Value::SingleQuotedString( "secret".to_string()).with_empty_span ()
17647+ ),
1764417648 },
1764517649 KeyValueOption {
1764617650 option_name: "MUST_CHANGE_PASSWORD".to_string(),
17647- option_value: KeyValueOptionKind::Single(Value::Boolean(false).with_empty_span()),
17651+ option_value: KeyValueOptionKind::Single(
17652+ Value::Boolean(false).with_empty_span()
17653+ ),
1764817654 },
1764917655 KeyValueOption {
1765017656 option_name: "TYPE".to_string(),
17651- option_value: KeyValueOptionKind::Single(Value::Placeholder(
17652- "SERVICE".to_string()
17653- ).with_empty_span()) ,
17657+ option_value: KeyValueOptionKind::Single(
17658+ Value::Placeholder( "SERVICE".to_string()).with_empty_span ()
17659+ ),
1765417660 },
1765517661 ],
1765617662 },
@@ -17663,15 +17669,15 @@ fn parse_create_user() {
1766317669 options: vec![
1766417670 KeyValueOption {
1766517671 option_name: "t1".to_string(),
17666- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
17667- "v1".to_string()
17668- ).with_empty_span()) ,
17672+ option_value: KeyValueOptionKind::Single(
17673+ Value::SingleQuotedString( "v1".to_string()).with_empty_span ()
17674+ ),
1766917675 },
1767017676 KeyValueOption {
1767117677 option_name: "t2".to_string(),
17672- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
17673- "v2".to_string()
17674- ).with_empty_span()) ,
17678+ option_value: KeyValueOptionKind::Single(
17679+ Value::SingleQuotedString( "v2".to_string()).with_empty_span ()
17680+ ),
1767517681 },
1767617682 ]
1767717683 }
@@ -18297,9 +18303,9 @@ fn test_parse_alter_user() {
1829718303 alter.set_tag.options,
1829818304 vec![KeyValueOption {
1829918305 option_name: "k1".to_string(),
18300- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
18301- "v1".to_string()
18302- ).with_empty_span()) ,
18306+ option_value: KeyValueOptionKind::Single(
18307+ Value::SingleQuotedString( "v1".to_string()).with_empty_span ()
18308+ ),
1830318309 },]
1830418310 );
1830518311 }
@@ -18333,17 +18339,21 @@ fn test_parse_alter_user() {
1833318339 options: vec![
1833418340 KeyValueOption {
1833518341 option_name: "PASSWORD".to_string(),
18336- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
18337- "secret".to_string()
18338- ).with_empty_span()) ,
18342+ option_value: KeyValueOptionKind::Single(
18343+ Value::SingleQuotedString( "secret".to_string()).with_empty_span ()
18344+ ),
1833918345 },
1834018346 KeyValueOption {
1834118347 option_name: "MUST_CHANGE_PASSWORD".to_string(),
18342- option_value: KeyValueOptionKind::Single(Value::Boolean(true).with_empty_span()),
18348+ option_value: KeyValueOptionKind::Single(
18349+ Value::Boolean(true).with_empty_span()
18350+ ),
1834318351 },
1834418352 KeyValueOption {
1834518353 option_name: "MINS_TO_UNLOCK".to_string(),
18346- option_value: KeyValueOptionKind::Single(number("10").with_empty_span()),
18354+ option_value: KeyValueOptionKind::Single(
18355+ number("10").with_empty_span()
18356+ ),
1834718357 },
1834818358 ]
1834918359 }
@@ -18370,7 +18380,8 @@ fn test_parse_alter_user() {
1837018380 option_name: "DEFAULT_SECONDARY_ROLES".to_string(),
1837118381 option_value: KeyValueOptionKind::Multi(vec![Value::SingleQuotedString(
1837218382 "ALL".to_string()
18373- ).with_empty_span()])
18383+ )
18384+ .with_empty_span()])
1837418385 }]
1837518386 );
1837618387 }
@@ -18394,16 +18405,17 @@ fn test_parse_alter_user() {
1839418405 options: vec![
1839518406 KeyValueOption {
1839618407 option_name: "TYPE".to_string(),
18397- option_value: KeyValueOptionKind::Single(Value::Placeholder(
18398- "AWS".to_string()
18399- ).with_empty_span()) ,
18408+ option_value: KeyValueOptionKind::Single(
18409+ Value::Placeholder( "AWS".to_string()).with_empty_span ()
18410+ ),
1840018411 },
1840118412 KeyValueOption {
1840218413 option_name: "ARN".to_string(),
1840318414 option_value: KeyValueOptionKind::Single(
1840418415 Value::SingleQuotedString(
1840518416 "arn:aws:iam::123456789:r1/".to_string()
18406- ).with_empty_span()
18417+ )
18418+ .with_empty_span()
1840718419 ),
1840818420 },
1840918421 ]
0 commit comments