-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pull error rendering out of error type, snapshot tests, only return an
error don't print, use named params in fomrat, remove mut from finish() cache files, capitalization show be lower
- Loading branch information
1 parent
90b5cd2
commit 6e9aaa9
Showing
11 changed files
with
252 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
...it_tests/snapshots/sui__upgrade_compatibility__upgrade_compatibility_tests__all_fail.snap
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
...pshots/sui__upgrade_compatibility__upgrade_compatibility_tests__declarations_missing.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
source: crates/sui/src/unit_tests/upgrade_compatibility_tests.rs | ||
expression: normalize_path(err.to_string()) | ||
--- | ||
Upgrade compatibility check failed: | ||
error: struct is missing | ||
┌─ crates/sui/src/unit_tests/fixtures/upgrade_errors/declarations_missing_v2/sources/UpgradeErrors.move:7:18 | ||
│ | ||
7 │ module upgrades::upgrades { | ||
│ ^^^^^^^^ Module 'upgrades' expected struct 'StructToBeRemoved', but found none | ||
│ | ||
= The struct is missing in the new module, add the previously defined: 'StructToBeRemoved' | ||
|
||
error: enum is missing | ||
┌─ crates/sui/src/unit_tests/fixtures/upgrade_errors/declarations_missing_v2/sources/UpgradeErrors.move:7:18 | ||
│ | ||
7 │ module upgrades::upgrades { | ||
│ ^^^^^^^^ Module 'upgrades' expected enum 'EnumToBeRemoved', but found none | ||
│ | ||
= The enum is missing in the new module, add the previously defined: 'EnumToBeRemoved' | ||
|
||
error: public function is missing | ||
┌─ crates/sui/src/unit_tests/fixtures/upgrade_errors/declarations_missing_v2/sources/UpgradeErrors.move:7:18 | ||
│ | ||
7 │ module upgrades::upgrades { | ||
│ ^^^^^^^^ Module 'upgrades' expected public function 'fun_to_be_removed', but found none | ||
│ | ||
= The public function is missing in the new module, add the previously defined: 'fun_to_be_removed' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.