Skip to content
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

Not able to run my test for huff using Foundry #62

Open
parwejkhan1816 opened this issue Apr 7, 2024 · 0 comments
Open

Not able to run my test for huff using Foundry #62

parwejkhan1816 opened this issue Apr 7, 2024 · 0 comments

Comments

@parwejkhan1816
Copy link

Error :

forge test  --match-path *Huff* 
[⠆] Compiling...
No files changed, compilation skipped

Ran 1 test for test/V1/HorseStoreHuff.t.sol:HorseStoreHuff
[FAIL. Reason: setup failed: revert: Invalid huffc binary. Run `curl -L get.huff.sh | bash` and `huffup` to fix.] setUp() (gas: 0)
Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 197.47ms (0.00ns CPU time)

Ran 1 test suite in 229.65ms (197.47ms CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests)

Failing tests:
Encountered 1 failing test in test/V1/HorseStoreHuff.t.sol:HorseStoreHuff
[FAIL. Reason: setup failed: revert: Invalid huffc binary. Run `curl -L get.huff.sh | bash` and `huffup` to fix.] setUp() (gas: 0)

Encountered a total of 1 failing tests, 0 tests succeeded

Steps I have taken to correct this :
==> reinstall huff compiler
==> update my WSL (apt-get update)
==> match my code using patrick collins sir video thrice and code exactly same like Patrick sir again
==> my test working well without Huff
Can somebody help me to resolve this .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant