-
Notifications
You must be signed in to change notification settings - Fork 81
Update Secure Cadence #516
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #516 +/- ##
=======================================
Coverage 55.05% 55.05%
=======================================
Files 37 37
Lines 2007 2007
=======================================
Hits 1105 1105
Misses 758 758
Partials 144 144
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
| assert.Equal(t, contracts[2].Name, "Kibble") | ||
| assert.Equal(t, contracts[3].Name, "KittyItems") | ||
| assert.Equal(t, contracts[4].Name, "KittyItemsMarket") | ||
| assert.Len(t, contracts, 5) |
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.
ohh I had this on my mind so long, thank you!!! coming from JS world this order always confuses me
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.
Yeah, when we first adopted testify in Cadence, I was confused by the argument order, but got used to it. Good thing is now failures are not confusing anymore.
The require/assert.Len seems odd though, because it's inconsistent with Equal's expected/actual order.
This PR updates to
For contributor use:
masterbranchFiles changedin the Github PR explorer