-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
upgrade errors formatting positional fields, nested fields, named fields on enums #20653
upgrade errors formatting positional fields, nested fields, named fields on enums #20653
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
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.
Nice work! This looks reasonable to me.
.../src/unit_tests/snapshots/sui__upgrade_compatibility__upgrade_compatibility_tests__enum.snap
Show resolved
Hide resolved
...rc/unit_tests/snapshots/sui__upgrade_compatibility__upgrade_compatibility_tests__struct.snap
Show resolved
Hide resolved
return ( | ||
Declarations::FieldMismatch.into(), | ||
vec![format!( | ||
"Mismatched variant field count, expected {}, found {}.", |
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.
nit (ignore if not relevant): most places we do message {}, expected {}
. Here it is reversed: expected, found.
afdd2f8
to
7718359
Compare
a8b3ad3
into
MystenLabs:main
Description
Adds tests and formatting fixes for:
Test plan
How did you test the new or updated feature?
snapshot testing
Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.