-
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.
add more V1 tests that didn't have .exp files
- Loading branch information
1 parent
6c35e46
commit ee3ab13
Showing
225 changed files
with
2,001 additions
and
1,809 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ts/more-v1/deprecated/assert_function.exp → ...r-v2/tests/deprecated/assert_function.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,7 +1,7 @@ | ||
|
||
Diagnostics: | ||
error: no function named `assert` found | ||
┌─ tests/more-v1/deprecated/assert_function.move:3:9 | ||
┌─ tests/deprecated/assert_function.move:3:9 | ||
│ | ||
3 │ assert(true, 42); | ||
│ ^^^^^^^^^^^^^^^^ |
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion
1
...recated/deprecated_placement_address.move → ...ecated/deprecated_placement_basecase.move
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,4 +1,3 @@ | ||
#[deprecated] | ||
address 0x42 { | ||
module M { | ||
use 0x41::N; | ||
|
File renamed without changes.
9 changes: 9 additions & 0 deletions
9
third_party/move/move-compiler-v2/tests/more-v1/control_flow/for_loop_comment_following.move
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,9 @@ | ||
//# run | ||
script { | ||
fun main(): () { | ||
for/**/( i in 0..10) {}; | ||
for/**/ ( i in 0..10) {}; | ||
for /**/( i in 0..10) {}; | ||
for /**/ ( i in 0..10) {}; | ||
} | ||
} |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
third_party/move/move-compiler-v2/tests/more-v1/control_flow/for_loop_lparen_following.move
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,6 @@ | ||
//# run | ||
script { | ||
fun main(): () { | ||
for( i in 0..10) {}; | ||
} | ||
} |
11 changes: 0 additions & 11 deletions
11
..._party/move/move-compiler-v2/tests/more-v1/control_flow/infinite_loop_with_dead_exits.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,13 +1,2 @@ | ||
|
||
Diagnostics: | ||
warning: Unnecessary trailing semicolon | ||
┌─ tests/more-v1/control_flow/infinite_loop_with_dead_exits.move:13:30 | ||
│ | ||
13 │ if (return) break; | ||
│ -----------------^ | ||
│ │ │ | ||
│ │ A trailing `;` in an expression block implicitly adds a `()` value expression after the semicolon, not needed here. | ||
│ Any code after this expression will not be reached | ||
|
||
|
||
============ bytecode verification succeeded ======== |
27 changes: 0 additions & 27 deletions
27
.../move/move-compiler-v2/tests/more-v1/deprecated/deprecated_constant_duplicated_struct.exp
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
...move/move-compiler-v2/tests/more-v1/deprecated/deprecated_constant_duplicated_struct.move
This file was deleted.
Oops, something went wrong.
145 changes: 0 additions & 145 deletions
145
...move/move-compiler-v2/tests/more-v1/deprecated/deprecated_constant_duplicated_struct2.exp
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
...ove/move-compiler-v2/tests/more-v1/deprecated/deprecated_constant_duplicated_struct2.move
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
third_party/move/move-compiler-v2/tests/more-v1/deprecated/deprecated_field_type.exp
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
third_party/move/move-compiler-v2/tests/more-v1/deprecated/deprecated_field_type.move
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
third_party/move/move-compiler-v2/tests/more-v1/deprecated/deprecated_field_type2.exp
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.