Not able to run my test for huff using Foundry
Opened this issue · 0 comments
parwejkhan1816 commented
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 .