File tree Expand file tree Collapse file tree
crates/vite_task/src/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -593,11 +593,8 @@ mod tests {
593593 . expect ( "Failed to load workspace" ) ;
594594
595595 // Test that specifying a scoped task with recursive flag returns an error
596- let result = workspace. build_task_subgraph (
597- & [ "@test/core#build" . into ( ) ] ,
598- Arc :: default ( ) ,
599- true ,
600- ) ;
596+ let result =
597+ workspace. build_task_subgraph ( & [ "@test/core#build" . into ( ) ] , Arc :: default ( ) , true ) ;
601598
602599 assert ! ( result. is_err( ) ) ;
603600 match result {
@@ -874,11 +871,8 @@ mod tests {
874871 . expect ( "Failed to load workspace" ) ;
875872
876873 // Test that we can't use recursive with task names containing # (would be interpreted as scope)
877- let result = workspace. build_task_subgraph (
878- & [ "test#integration" . into ( ) ] ,
879- Arc :: default ( ) ,
880- true ,
881- ) ;
874+ let result =
875+ workspace. build_task_subgraph ( & [ "test#integration" . into ( ) ] , Arc :: default ( ) , true ) ;
882876 assert ! ( result. is_err( ) , "Recursive run with # in task name should fail" ) ;
883877 } )
884878 }
You can’t perform that action at this time.
0 commit comments