@@ -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 );
@@ -17666,19 +17670,21 @@ fn parse_create_user() {
1766617670 options: vec![
1766717671 KeyValueOption {
1766817672 option_name: "PASSWORD".to_string(),
17669- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
17670- "secret".to_string()
17671- ).with_empty_span()) ,
17673+ option_value: KeyValueOptionKind::Single(
17674+ Value::SingleQuotedString( "secret".to_string()).with_empty_span ()
17675+ ),
1767217676 },
1767317677 KeyValueOption {
1767417678 option_name: "MUST_CHANGE_PASSWORD".to_string(),
17675- option_value: KeyValueOptionKind::Single(Value::Boolean(false).with_empty_span()),
17679+ option_value: KeyValueOptionKind::Single(
17680+ Value::Boolean(false).with_empty_span()
17681+ ),
1767617682 },
1767717683 KeyValueOption {
1767817684 option_name: "TYPE".to_string(),
17679- option_value: KeyValueOptionKind::Single(Value::Placeholder(
17680- "SERVICE".to_string()
17681- ).with_empty_span()) ,
17685+ option_value: KeyValueOptionKind::Single(
17686+ Value::Placeholder( "SERVICE".to_string()).with_empty_span ()
17687+ ),
1768217688 },
1768317689 ],
1768417690 },
@@ -17691,15 +17697,15 @@ fn parse_create_user() {
1769117697 options: vec![
1769217698 KeyValueOption {
1769317699 option_name: "t1".to_string(),
17694- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
17695- "v1".to_string()
17696- ).with_empty_span()) ,
17700+ option_value: KeyValueOptionKind::Single(
17701+ Value::SingleQuotedString( "v1".to_string()).with_empty_span ()
17702+ ),
1769717703 },
1769817704 KeyValueOption {
1769917705 option_name: "t2".to_string(),
17700- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
17701- "v2".to_string()
17702- ).with_empty_span()) ,
17706+ option_value: KeyValueOptionKind::Single(
17707+ Value::SingleQuotedString( "v2".to_string()).with_empty_span ()
17708+ ),
1770317709 },
1770417710 ]
1770517711 }
@@ -18325,9 +18331,9 @@ fn test_parse_alter_user() {
1832518331 alter.set_tag.options,
1832618332 vec![KeyValueOption {
1832718333 option_name: "k1".to_string(),
18328- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
18329- "v1".to_string()
18330- ).with_empty_span()) ,
18334+ option_value: KeyValueOptionKind::Single(
18335+ Value::SingleQuotedString( "v1".to_string()).with_empty_span ()
18336+ ),
1833118337 },]
1833218338 );
1833318339 }
@@ -18361,17 +18367,21 @@ fn test_parse_alter_user() {
1836118367 options: vec![
1836218368 KeyValueOption {
1836318369 option_name: "PASSWORD".to_string(),
18364- option_value: KeyValueOptionKind::Single(Value::SingleQuotedString(
18365- "secret".to_string()
18366- ).with_empty_span()) ,
18370+ option_value: KeyValueOptionKind::Single(
18371+ Value::SingleQuotedString( "secret".to_string()).with_empty_span ()
18372+ ),
1836718373 },
1836818374 KeyValueOption {
1836918375 option_name: "MUST_CHANGE_PASSWORD".to_string(),
18370- option_value: KeyValueOptionKind::Single(Value::Boolean(true).with_empty_span()),
18376+ option_value: KeyValueOptionKind::Single(
18377+ Value::Boolean(true).with_empty_span()
18378+ ),
1837118379 },
1837218380 KeyValueOption {
1837318381 option_name: "MINS_TO_UNLOCK".to_string(),
18374- option_value: KeyValueOptionKind::Single(number("10").with_empty_span()),
18382+ option_value: KeyValueOptionKind::Single(
18383+ number("10").with_empty_span()
18384+ ),
1837518385 },
1837618386 ]
1837718387 }
@@ -18398,7 +18408,8 @@ fn test_parse_alter_user() {
1839818408 option_name: "DEFAULT_SECONDARY_ROLES".to_string(),
1839918409 option_value: KeyValueOptionKind::Multi(vec![Value::SingleQuotedString(
1840018410 "ALL".to_string()
18401- ).with_empty_span()])
18411+ )
18412+ .with_empty_span()])
1840218413 }]
1840318414 );
1840418415 }
@@ -18422,16 +18433,17 @@ fn test_parse_alter_user() {
1842218433 options: vec![
1842318434 KeyValueOption {
1842418435 option_name: "TYPE".to_string(),
18425- option_value: KeyValueOptionKind::Single(Value::Placeholder(
18426- "AWS".to_string()
18427- ).with_empty_span()) ,
18436+ option_value: KeyValueOptionKind::Single(
18437+ Value::Placeholder( "AWS".to_string()).with_empty_span ()
18438+ ),
1842818439 },
1842918440 KeyValueOption {
1843018441 option_name: "ARN".to_string(),
1843118442 option_value: KeyValueOptionKind::Single(
1843218443 Value::SingleQuotedString(
1843318444 "arn:aws:iam::123456789:r1/".to_string()
18434- ).with_empty_span()
18445+ )
18446+ .with_empty_span()
1843518447 ),
1843618448 },
1843718449 ]
0 commit comments