File tree Expand file tree Collapse file tree
schema-engine/sql-migration-tests/tests/migrations Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( )
You can’t perform that action at this time.
0 commit comments