This is the error code: enter image description here

Adoption.sol code: enter image description here

TestAdoption.sol code: enter image description here

I dont know how to solve this, it fails when i try to use this comand: "truffle test". Thanks.


delete everything inside your build folder in your truffle root project. and then repeat

truffle compile
truffle migrate
truffle test

hope this help

New contributor
Setmax is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.