@@ -115,7 +115,10 @@ mod tests {
115115 }
116116
117117 fn write_config ( model_format : FileFormat ) {
118- let cfg = VespertideConfig { model_format, ..VespertideConfig :: default ( ) } ;
118+ let cfg = VespertideConfig {
119+ model_format,
120+ ..VespertideConfig :: default ( )
121+ } ;
119122 let text = serde_json:: to_string_pretty ( & cfg) . unwrap ( ) ;
120123 std:: fs:: write ( "vespertide.json" , text) . unwrap ( ) ;
121124 }
@@ -152,7 +155,10 @@ mod tests {
152155
153156 cmd_new ( "orders" . into ( ) , None ) . unwrap ( ) ;
154157
155- let cfg = VespertideConfig { model_format : FileFormat :: Yaml , ..VespertideConfig :: default ( ) } ;
158+ let cfg = VespertideConfig {
159+ model_format : FileFormat :: Yaml ,
160+ ..VespertideConfig :: default ( )
161+ } ;
156162 let path = cfg. models_dir ( ) . join ( "orders.yaml" ) ;
157163 assert ! ( path. exists( ) ) ;
158164
@@ -175,7 +181,10 @@ mod tests {
175181
176182 cmd_new ( "products" . into ( ) , None ) . unwrap ( ) ;
177183
178- let cfg =VespertideConfig { model_format : FileFormat :: Yml , ..VespertideConfig :: default ( ) } ;
184+ let cfg = VespertideConfig {
185+ model_format : FileFormat :: Yml ,
186+ ..VespertideConfig :: default ( )
187+ } ;
179188 let path = cfg. models_dir ( ) . join ( "products.yml" ) ;
180189 assert ! ( path. exists( ) ) ;
181190
@@ -205,4 +214,4 @@ mod tests {
205214 assert ! ( msg. contains( "model file already exists" ) ) ;
206215 assert ! ( msg. contains( "users.json" ) ) ;
207216 }
208- }
217+ }
0 commit comments