-
Notifications
You must be signed in to change notification settings - Fork 382
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
fix(gno test): pass ExecContext when initializing imported packages #1965
Conversation
… imports containing an init() func Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1965 +/- ##
=======================================
Coverage 54.96% 54.96%
=======================================
Files 481 481
Lines 67391 67400 +9
=======================================
+ Hits 37040 37049 +9
Misses 27330 27330
Partials 3021 3021 ☔ View full report in Codecov by Sentry. |
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
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 took some liberty to modify this PR, for good reason. I tried copying over the files to master, but could see they were succeeding...
However, I saw the practical changes and saw where the bug could occur. I modified your test case so that it tests for a case which does indeed fail on master.
Cherry-picked from 8fe571f (#880).
Contributors' checklist...
BREAKING CHANGE: xxx
message was included in the description