-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update move-abi and doc-gen test using v2
- Loading branch information
1 parent
87767e8
commit a1b900b
Showing
18 changed files
with
83 additions
and
355 deletions.
There are no files selected for viewing
12 changes: 4 additions & 8 deletions
12
third_party/move/move-prover/move-abigen/tests/sources/bad_script.exp
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 |
---|---|---|
@@ -1,10 +1,6 @@ | ||
Move prover abigen returns: exiting with model building errors | ||
error: incompatible types | ||
┌─ tests/sources/bad_script.move:3:9 | ||
Move prover abigen returns: exiting with checking errors | ||
error: expected `u64` but found a value of type `bool` | ||
┌─ tests/sources/bad_script.move:3:15 | ||
│ | ||
3 │ abort true // type error, abort code must be a u64 | ||
│ ^^^^^^^^^^ | ||
│ │ │ | ||
│ │ Given: 'bool' | ||
│ Invalid abort | ||
│ Expected: 'u64' | ||
│ ^^^^ |
12 changes: 6 additions & 6 deletions
12
third_party/move/move-prover/move-abigen/tests/sources/script_fun_in_module.exp
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
warning: unused variable | ||
warning: Unused parameter `account`. Consider removing or prefixing with an underscore: `_account` | ||
┌─ tests/sources/script_fun_in_module.move:26:57 | ||
│ | ||
26 │ public entry fun this_is_script_fun_with_signer_ref(account: &signer, _another_arg: u64) { } | ||
│ ^^^^^^^ Unused parameter 'account'. Consider removing or prefixing with an underscore: '_account' | ||
│ ^^^^^^^ | ||
|
||
warning: unused variable | ||
warning: Unused parameter `account`. Consider removing or prefixing with an underscore: `_account` | ||
┌─ tests/sources/script_fun_in_module.move:29:53 | ||
│ | ||
29 │ public entry fun this_is_script_fun_with_signer(account: signer, _another_arg: u64) { } | ||
│ ^^^^^^^ Unused parameter 'account'. Consider removing or prefixing with an underscore: '_account' | ||
│ ^^^^^^^ | ||
|
||
warning: unused variable | ||
warning: Unused parameter `account`. Consider removing or prefixing with an underscore: `_account` | ||
┌─ tests/sources/script_fun_in_module.move:32:58 | ||
│ | ||
32 │ public entry fun this_is_script_fun_with_string_args(account: &signer, _val: String) { } | ||
│ ^^^^^^^ Unused parameter 'account'. Consider removing or prefixing with an underscore: '_account' | ||
│ ^^^^^^^ |
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
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
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
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.