Skip to content

Commit

Permalink
fix forc-client tests (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
eightfilms authored Sep 27, 2022
1 parent b64f223 commit fad26bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions tests/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ fn fuelup_component_add() -> Result<()> {
let _ = cfg.fuelup(&["component", "add", "forc"]);
expect_files_exist(&cfg.toolchain_bin_dir("my_toolchain"), FORC_BINS);

let _ = cfg.fuelup(&["component", "add", "forc-client"]);
let _ = cfg.fuelup(&["component", "add", "[email protected]"]);
expect_files_exist(&cfg.toolchain_bin_dir("my_toolchain"), ALL_BINS);
})?;
Expand Down
9 changes: 1 addition & 8 deletions tests/testcfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,7 @@ pub struct TestOutput {
pub status: ExitStatus,
}

pub const FORC_BINS: &[&str] = &[
"forc",
"forc-deploy",
"forc-explore",
"forc-fmt",
"forc-lsp",
"forc-run",
];
pub const FORC_BINS: &[&str] = &["forc", "forc-explore", "forc-fmt", "forc-lsp"];

pub static ALL_BINS: &[&str] = &[
"forc",
Expand Down

0 comments on commit fad26bf

Please sign in to comment.