Skip to content

Commit

Permalink
fix: replace --match with `--match-test
Browse files Browse the repository at this point in the history
The `--match` flag was finally removed from `forge` in favor of `--match-test`/`--match-contract`/`--match-path`. This script is now broken.
  • Loading branch information
amusingaxl committed Jun 20, 2023
1 parent 2a79dc3 commit c143cca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/test-dssspell-forge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export FOUNDRY_ROOT_CHAINID=1
if [[ -z "$MATCH" && -z "$BLOCK" ]]; then
forge test --fork-url "$ETH_RPC_URL"
elif [[ -z "$BLOCK" ]]; then
forge test --fork-url "$ETH_RPC_URL" --match "$MATCH" -vvv
forge test --fork-url "$ETH_RPC_URL" --match-test "$MATCH" -vvv
elif [[ -z "$MATCH" ]]; then
forge test --fork-url "$ETH_RPC_URL" --fork-block-number "$BLOCK"
else
forge test --fork-url "$ETH_RPC_URL" --match "$MATCH" --fork-block-number "$BLOCK" -vvv
forge test --fork-url "$ETH_RPC_URL" --match-test "$MATCH" --fork-block-number "$BLOCK" -vvv
fi

0 comments on commit c143cca

Please sign in to comment.