Skip to content

Commit 20d5683

Browse files
author
Roman Borschel
committed
Address cargo fmt errors.
1 parent 706bbfd commit 20d5683

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

tests/sqlparser_databricks.rs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,9 @@ fn data_type_timestamp_ntz() {
334334
databricks().verified_expr("(created_at)::TIMESTAMP_NTZ"),
335335
Expr::Cast {
336336
kind: CastKind::DoubleColon,
337-
expr: Box::new(Expr::Nested(
338-
Box::new(Expr::Identifier("created_at".into()))
339-
)),
337+
expr: Box::new(Expr::Nested(Box::new(Expr::Identifier(
338+
"created_at".into()
339+
)))),
340340
data_type: DataType::TimestampNtz,
341341
format: None
342342
}
@@ -347,13 +347,11 @@ fn data_type_timestamp_ntz() {
347347
Statement::CreateTable(CreateTable { columns, .. }) => {
348348
assert_eq!(
349349
columns,
350-
vec![
351-
ColumnDef {
352-
name: "x".into(),
353-
data_type: DataType::TimestampNtz,
354-
options: vec![],
355-
}
356-
]
350+
vec![ColumnDef {
351+
name: "x".into(),
352+
data_type: DataType::TimestampNtz,
353+
options: vec![],
354+
}]
357355
);
358356
}
359357
s => panic!("Unexpected statement: {:?}", s),

0 commit comments

Comments
 (0)