-
Notifications
You must be signed in to change notification settings - Fork 407
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
Feat : Trimmed label to prevent white spaces #1412
Conversation
Decouple testing from app with an interface
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.
Good start!
I added some comments to polish the code. Please add test cases for regression. You can find existing ones in proposal_test.go
and tx_test.go
Codecov Report
@@ Coverage Diff @@
## main #1412 +/- ##
==========================================
+ Coverage 60.14% 60.15% +0.01%
==========================================
Files 60 60
Lines 7557 7559 +2
==========================================
+ Hits 4545 4547 +2
Misses 2676 2676
Partials 336 336
|
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.
LGTM 💐 Thanks for the help!
closes #1183
The aim of this pr is to prevent white spaces in labels by either silent trimming before storing or to fail when the label is not trimmed