-
Notifications
You must be signed in to change notification settings - Fork 9
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
test: add the test case for invalid address #88
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #88 +/- ##
==========================================
+ Coverage 63.25% 63.37% +0.12%
==========================================
Files 80 80
Lines 9994 9994
==========================================
+ Hits 6322 6334 +12
+ Misses 3345 3337 -8
+ Partials 327 323 -4 |
6e2e797
to
8b6ceb9
Compare
…nto test-add-to-InactiveContracts
Fix to create an ordered address array and test it as an expected value
…nto test-invalid-address
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's necessary to have the same test cases in "TestQueryContractInfo" and "TestQueryContractHistory" as well.
…d `TestQueryContractHistory`
How about using https://pkg.go.dev/github.com/stretchr/testify/assert#ErrorContains to compare errors and not import bech32 error type? |
@loloicci |
Description
Added an error test when specifying an invalid address
Checklist:
CHANGELOG.md
client/docs/swagger-ui/swagger.yaml
(not needed)