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

Increase test coverage and code cleanup #26

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

alex-semenyuk
Copy link
Member

No description provided.

Signed-off-by: Alexey Semenyuk <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (c79f7bd) 51.33% compared to head (71c51c8) 62.92%.
Report is 9 commits behind head on main.

Files Patch % Lines
cmd/tezosconnect.go 33.33% 2 Missing ⚠️
internal/tezos/get_receipt.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #26       +/-   ##
===========================================
+ Coverage   51.33%   62.92%   +11.59%     
===========================================
  Files          22       22               
  Lines         861      847       -14     
===========================================
+ Hits          442      533       +91     
+ Misses        415      310      -105     
  Partials        4        4               

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

@alex-semenyuk alex-semenyuk changed the title Increase test coverage Increase test coverage and code cleanup Nov 22, 2023
@@ -409,12 +409,3 @@ func (bl *blockListener) getHighestBlock(ctx context.Context) int64 {
log.L(ctx).Debugf("ChainHead=%d", highestBlock)
return highestBlock
}

func (bl *blockListener) waitClosed() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is used only from test and can be omitted there, so let's remove it

@denisandreenko denisandreenko merged commit 1094048 into hyperledger:main Nov 27, 2023
3 checks passed
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.

3 participants