File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,9 +254,7 @@ async fn run_inner(
254254 for table in tables {
255255 let existing_cols: Vec < discovered_column:: Model > =
256256 discovered_column:: Entity :: find ( )
257- . filter (
258- discovered_column:: Column :: DiscoveredTableId . eq ( table. id ) ,
259- )
257+ . filter ( discovered_column:: Column :: DiscoveredTableId . eq ( table. id ) )
260258 . all ( & state. db )
261259 . await ?;
262260 for col in existing_cols {
Original file line number Diff line number Diff line change @@ -1173,7 +1173,11 @@ mod tests {
11731173 } ,
11741174 ] ;
11751175 let schema2 = build_arrow_schema ( & columns_with_deselected) ;
1176- assert_eq ! ( schema2. fields( ) . len( ) , 1 , "deselected column should be excluded" ) ;
1176+ assert_eq ! (
1177+ schema2. fields( ) . len( ) ,
1178+ 1 ,
1179+ "deselected column should be excluded"
1180+ ) ;
11771181 assert ! ( schema2. field_with_name( "id" ) . is_ok( ) ) ;
11781182 assert ! ( schema2. field_with_name( "secret" ) . is_err( ) ) ;
11791183
You can’t perform that action at this time.
0 commit comments