@@ -2,7 +2,9 @@ use crate::support::{database, project};
22
33#[ test]
44fn migration_revert_runs_the_last_migration_down ( ) {
5- let p = project ( "migration_revert_runs_the_last_migration_down" ) . folder ( "migrations" ) . build ( ) ;
5+ let p = project ( "migration_revert_runs_the_last_migration_down" )
6+ . folder ( "migrations" )
7+ . build ( ) ;
68 let db = database ( & p. database_url ( ) ) ;
79
810 p. create_migration (
@@ -131,7 +133,9 @@ fn migration_revert_respects_migration_dir_from_diesel_toml() {
131133
132134#[ test]
133135fn migration_revert_runs_the_last_two_migration_down ( ) {
134- let p = project ( "migration_revert_runs_the_last_two_migration_down" ) . folder ( "migrations" ) . build ( ) ;
136+ let p = project ( "migration_revert_runs_the_last_two_migration_down" )
137+ . folder ( "migrations" )
138+ . build ( ) ;
135139 let db = database ( & p. database_url ( ) ) ;
136140
137141 p. create_migration (
@@ -182,7 +186,9 @@ fn migration_revert_runs_the_last_two_migration_down() {
182186
183187#[ test]
184188fn migration_revert_all_runs_the_migrations_down ( ) {
185- let p = project ( "migration_revert_all_runs_the_migrations_down" ) . folder ( "migrations" ) . build ( ) ;
189+ let p = project ( "migration_revert_all_runs_the_migrations_down" )
190+ . folder ( "migrations" )
191+ . build ( ) ;
186192 let db = database ( & p. database_url ( ) ) ;
187193
188194 p. create_migration (
@@ -239,7 +245,9 @@ fn migration_revert_all_runs_the_migrations_down() {
239245
240246#[ test]
241247fn migration_revert_with_zero_should_throw_an_error ( ) {
242- let p = project ( "migration_revert_with_zero_should_throw_an_error" ) . folder ( "migrations" ) . build ( ) ;
248+ let p = project ( "migration_revert_with_zero_should_throw_an_error" )
249+ . folder ( "migrations" )
250+ . build ( ) ;
243251
244252 // Make sure the project is setup
245253 p. command ( "setup" ) . run ( ) ;
@@ -263,7 +271,9 @@ fn migration_revert_with_zero_should_throw_an_error() {
263271
264272#[ test]
265273fn migration_revert_with_an_invalid_input_should_throw_an_error ( ) {
266- let p = project ( "migration_revert_with_an_invalid_input_should_throw_an_error" ) . folder ( "migrations" ) . build ( ) ;
274+ let p = project ( "migration_revert_with_an_invalid_input_should_throw_an_error" )
275+ . folder ( "migrations" )
276+ . build ( ) ;
267277
268278 // Make sure the project is setup
269279 p. command ( "setup" ) . run ( ) ;
0 commit comments