LimeChain / matchstick

🔥 Unit testing framework for Subgraph development on The Graph protocol. ⚙️
MIT License
210 stars 18 forks source link

Mark tests as failed if shouldFail is `true` but the test passes #264

Closed dimitrovmaksim closed 2 years ago

dimitrovmaksim commented 2 years ago

Issues: closes https://github.com/LimeChain/matchstick/issues/263

What this PR does:

Currently if shouldFail is true, but the test does not actually fail, it is still marked as passed. This PR fixes that, now passing test, that have shouldFail set as true will be marked as failed.