Skip to content

Commit ce9aa89

Browse files
committed
Refactoring
1 parent ac1e6c8 commit ce9aa89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/mysql/table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ fn create_8() {
204204
.table(Font::Table)
205205
.col(ColumnDef::new(Font::Variant).year(Some(MySqlYear::Four)))
206206
.to_string(MysqlQueryBuilder),
207-
["CREATE TABLE `font` (", "`variant` year(4)", ")",].join(" ")
207+
"CREATE TABLE `font` ( `variant` year(4) )"
208208
);
209209
}
210210

tests/postgres/table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn create_4() {
109109
.table(Glyph::Table)
110110
.col(ColumnDef::new(Glyph::Image).custom(Glyph::Aspect))
111111
.to_string(PostgresQueryBuilder),
112-
[r#"CREATE TABLE "glyph" ("#, r#""image" aspect"#, r#")"#,].join(" ")
112+
r#"CREATE TABLE "glyph" ( "image" aspect )"#
113113
);
114114
}
115115

0 commit comments

Comments
 (0)