Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nns test with coverage #3604

Merged
merged 3 commits into from
Oct 9, 2024
Merged

Fix nns test with coverage #3604

merged 3 commits into from
Oct 9, 2024

Conversation

roman-khimov
Copy link
Member

No description provided.

./nns_test.go:161:6: declared and not used: i

Signed-off-by: Roman Khimov <roman@nspcc.ru>
It's to be updated to the final release eventually, but it's a good contract
to showcase the coverage feature, quite a lot of code with good overall
percentage.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
$ go tool cover -html=coverage.txt -o coverage.html
cover: can't read "/home/rik/dev/neo-go/examples/nft-nd-nns/contract.go": open /home/rik/dev/neo-go/examples/nft-nd-nns/contract.go: no such file or directory

Signed-off-by: Roman Khimov <roman@nspcc.ru>
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.25%. Comparing base (0968c3a) to head (ad41d0f).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3604      +/-   ##
==========================================
- Coverage   85.27%   85.25%   -0.03%     
==========================================
  Files         333      333              
  Lines       39009    39009              
==========================================
- Hits        33265    33257       -8     
- Misses       4177     4181       +4     
- Partials     1567     1571       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AnnaShaleva AnnaShaleva merged commit 8ed3ab8 into master Oct 9, 2024
19 of 20 checks passed
@AnnaShaleva AnnaShaleva deleted the fix-nns-test-with-coverage branch October 9, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants