-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--match-path
does not work with watch mode: cannot be used multiple times
#8664
Comments
hey @zerosnacks Can I help with this one? ☝️ |
@PabloVillaplana sure! Assigning this to you, thanks! |
…mode: cannot be used multiple times foundry-rs#8664
Hey @zerosnacks Currently when running the command: forge test --match-path test/Counter.t.sol --watch It is not necessary to add the ---match-path because by default the --watch is added by code, now what I did was add a validation that if it already has it in the arguments, do not add it to avoid redundancy and errors like the reported issue Could you help me to check the PR to see if everything is fine ? |
…ot be used multiple times #8664 (#8709) * Issue #8664 | Bug 🐛: --match-path does not work with watch mode: cannot be used multiple times #8664 * reuse _no_reconfigure var * Remove undescore var name and also remove no needed extra lines * fmt --------- Co-authored-by: Arsenii Kulikov <[email protected]>
Thanks @PabloVillaplana LGTM, marking ticket as |
…mode: cannot be used multiple times foundry-rs#8664 (foundry-rs#8709) * Issue foundry-rs#8664 | Bug 🐛: --match-path does not work with watch mode: cannot be used multiple times foundry-rs#8664 * reuse _no_reconfigure var * Remove undescore var name and also remove no needed extra lines * fmt --------- Co-authored-by: Arsenii Kulikov <[email protected]>
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (224fe9c 2024-08-14T00:19:31.970378000Z)
What command(s) is the bug in?
forge test --match-path
Operating System
None
Describe the bug
Steps to reproduce:
forge init
a new projectforge test --match-path test/Counter.t.sol -w
The text was updated successfully, but these errors were encountered: