As of May 31, 2023, we have updated our Code of Conduct.
1 vote

How to test a function that returns array type struct using Foundry

I can read from the error that you are comparing two instances of MarketItem that seem to be defined in two different contracts (ContractTest vs NFTMarketPlace). I guess you have copied the MarketItem ...
Jacobo Lansac's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible