Skip to content

Commit 1cb380e

Browse files
committed
fix: fix lints
1 parent c84181b commit 1cb380e

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

  • schema-engine/sql-migration-tests/tests/migrations

schema-engine/sql-migration-tests/tests/migrations/mssql.rs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,7 @@ fn apply_migrations_with_a_schema_in_url(mut api: TestApi) {
409409
"#;
410410

411411
let migrations_directory = api.create_migrations_directory();
412-
let migration = format!(
413-
r#"
412+
let migration = r#"
414413
BEGIN TRY
415414
416415
BEGIN TRAN;
@@ -431,18 +430,16 @@ fn apply_migrations_with_a_schema_in_url(mut api: TestApi) {
431430
THROW
432431
433432
END CATCH
434-
"#,
435-
);
433+
"#;
436434

437435
api.create_migration("01init", schema, &migrations_directory)
438436
.draft(true)
439437
.send_sync()
440438
.modify_migration(|contents| {
441439
contents.clear();
442-
contents.push_str(&migration);
440+
contents.push_str(migration);
443441
})
444-
.into_output()
445-
.generated_migration_name;
442+
.into_output();
446443

447444
api.apply_migrations(&migrations_directory)
448445
.send_sync()

0 commit comments

Comments
 (0)