Skip to content

Commit a0141be

Browse files
CopilotBrooooooklyn
andcommitted
Fix cargo fmt formatting issues
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
1 parent e659a45 commit a0141be

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

  • crates/vite_task/src/config

crates/vite_task/src/config/mod.rs

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)