File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,11 +258,8 @@ struct SQLKitExtrasTests {
258258 #expect( serialize ( . cast( " foo " , to: " text " ) ) == #"CAST("foo" AS "text")"# )
259259 #expect( serialize ( . cast( . column( " foo " ) , to: " text " ) ) == #"CAST("foo" AS "text")"# )
260260
261- let mysqlDB = MockSQLDatabase ( dialect: " mysql " )
262- #expect( mysqlDB. serialize ( SQLCastExpression ( . column( " foo " ) , to: " text " ) ) . sql == #"CAST("foo" AS text)"# )
263-
264- let postgresDB = MockSQLDatabase ( dialect: " postgresql " )
265- #expect( postgresDB. serialize ( SQLCastExpression ( . column( " foo " ) , to: " text " ) ) . sql == #"CAST("foo" AS "text")"# )
261+ #expect( MockSQLDatabase ( dialect: " mysql " ) . serialize ( SQLCastExpression ( . column( " foo " ) , to: " text " ) ) . sql == #"CAST("foo" AS text)"# )
262+ #expect( MockSQLDatabase ( dialect: " postgresql " ) . serialize ( SQLCastExpression ( . column( " foo " ) , to: " text " ) ) . sql == #"CAST("foo" AS "text")"# )
266263 }
267264
268265 @Test
You can’t perform that action at this time.
0 commit comments