Skip to content

Commit

Permalink
test: update failing inspect test (foundry-rs#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Apr 4, 2022
1 parent 9b3c6e3 commit 721093d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cli/tests/it/cmd.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
//! Contains various tests for checking forge's commands
use ansi_term::Colour;
use ethers::solc::{artifacts::Metadata, ConfigurableContractArtifact};
use ethers::solc::{
artifacts::{BytecodeHash, Metadata},
ConfigurableContractArtifact,
};
use foundry_cli_test_utils::{
ethers_solc::PathStyle,
forgetest, forgetest_ignore, forgetest_init,
Expand Down Expand Up @@ -365,6 +368,9 @@ Gas used: 3957

// tests that the `inspect` command works correctly
forgetest!(can_execute_inspect_command, |prj: TestProject, mut cmd: TestCommand| {
// explicitly set to include the ipfs bytecode hash
let config = Config { bytecode_hash: BytecodeHash::Ipfs, ..Default::default() };
prj.write_config(config);
let contract_name = "Foo";
let _ = prj
.inner()
Expand Down

0 comments on commit 721093d

Please sign in to comment.