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

rpcserver: Add handleGetTxOut tests. #2516

Merged
merged 0 commits into from Dec 24, 2020
Merged

Conversation

rstaudt2
Copy link
Member

This adds test coverage for handleGetTxOut.

go test -run="TestHandleGetTxOut" -coverprofile=cov.out &&
go tool cover -func=cov.out | grep -E "handleGetTxOut"

github.com/decred/dcrd/internal/rpcserver/rpcserver.go:3507:		handleGetTxOut			100.0%

Part of #2069.

@davecgh davecgh added this to the 1.7.0 milestone Dec 22, 2020
@davecgh davecgh added the test coverage Discussion and pull requests for improving test coverage. label Dec 22, 2020
@davecgh davecgh merged commit ce4cc74 into decred:master Dec 24, 2020
@rstaudt2 rstaudt2 deleted the gettxout-tests branch January 15, 2021 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test coverage Discussion and pull requests for improving test coverage.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants