diff --git a/sdk/cargo-build-sbf/tests/crates.rs b/sdk/cargo-build-sbf/tests/crates.rs index 8da5e7c46fd56b..c63308124b0130 100644 --- a/sdk/cargo-build-sbf/tests/crates.rs +++ b/sdk/cargo-build-sbf/tests/crates.rs @@ -61,7 +61,7 @@ fn test_build() { fn test_dump() { // This test requires rustfilt. assert_cmd::Command::new("cargo") - .args(["install", "-f", "rustfilt"]) + .args(["install", "rustfilt"]) .assert() .success(); run_cargo_build("noop", &["--dump"], false);