Skip to content

Commit

Permalink
[move-ide] Regenerated test output (MystenLabs#20547)
Browse files Browse the repository at this point in the history
## Description 

The output for `move-analyzer` tests changed (and needed to be updated)
due to recent compiler changes but due to some issue with the CI test
runner the "old" output was not reported as incorrect. This PR updates
test output to reflect the current state of affairs.

## Test plan 

All tests must pass
  • Loading branch information
awelc authored Dec 9, 2024
1 parent 28eaabe commit 2f53ee0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ cursor info:
- module: Move2024::M2
- definition: function baz
- position: exp
- value: DotCall(Name(Single(PathEntry { name: "some_struct", tyargs: None, is_macro: None })), "f3", None, None, [Name(Single(PathEntry { name: "val", tyargs: None, is_macro: None }))])
- value: DotCall(Name(Single(PathEntry { name: "some_struct", tyargs: None, is_macro: None })), Loc { file_hash: "c26c564206296bc6de3b43456c0cf245c77be098b5cb90d48a37b737c8b0d007", start: 842, end: 843 }, "f3", None, None, [Name(Single(PathEntry { name: "val", tyargs: None, is_macro: None }))])

-- test 20 @ 34:37 ------------
expected: equal sign in a binop
cursor info:
- module: Move2024::M2
- definition: function baz
- position: exp
- value: BinopExp(DotCall(Name(Single(PathEntry { name: "some_struct", tyargs: None, is_macro: None })), "f3", None, None, [Name(Single(PathEntry { name: "val", tyargs: None, is_macro: None }))]), Eq, DotCall(Name(Single(PathEntry { name: "some_struct", tyargs: None, is_macro: None })), "f4", None, None, [Name(Single(PathEntry { name: "val", tyargs: None, is_macro: None }))]))
- value: BinopExp(DotCall(Name(Single(PathEntry { name: "some_struct", tyargs: None, is_macro: None })), Loc { file_hash: "c26c564206296bc6de3b43456c0cf245c77be098b5cb90d48a37b737c8b0d007", start: 842, end: 843 }, "f3", None, None, [Name(Single(PathEntry { name: "val", tyargs: None, is_macro: None }))]), Eq, DotCall(Name(Single(PathEntry { name: "some_struct", tyargs: None, is_macro: None })), Loc { file_hash: "c26c564206296bc6de3b43456c0cf245c77be098b5cb90d48a37b737c8b0d007", start: 865, end: 866 }, "f4", None, None, [Name(Single(PathEntry { name: "val", tyargs: None, is_macro: None }))]))

0 comments on commit 2f53ee0

Please sign in to comment.