ChainSafe / gossamer

🕸️ Go Implementation of the Polkadot Host
https://chainsafe.github.io/gossamer
GNU Lesser General Public License v3.0
427 stars 110 forks source link

test(lib/runtime/storage): use require.NoError instead of require.Nil for errors #3977

Closed EmilGeorgiev closed 3 months ago

EmilGeorgiev commented 4 months ago

Changes

replace require.Nil with require.NoError

Tests

cd lib/runtime/storage
go test ./...

Issues

3976

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.

CLAassistant commented 4 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 52.76%. Comparing base (d1ca7aa) to head (086a883). Report is 98 commits behind head on development.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #3977 +/- ## =============================================== + Coverage 50.51% 52.76% +2.25% =============================================== Files 230 247 +17 Lines 29006 25417 -3589 =============================================== - Hits 14653 13412 -1241 + Misses 12856 10418 -2438 - Partials 1497 1587 +90 ```