mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-22 05:00:59 +03:00
Merge pull request #28404 from ProvableHQ/remove-expectations
Remove unused '.out' expectations files.
This commit is contained in:
commit
64445fb113
@ -1,55 +0,0 @@
|
||||
---
|
||||
namespace: ParseStatement
|
||||
expectation: Pass
|
||||
outputs:
|
||||
- Return:
|
||||
expression:
|
||||
Unit:
|
||||
span:
|
||||
lo: 7
|
||||
hi: 11
|
||||
id: 0
|
||||
finalize_arguments: []
|
||||
span:
|
||||
lo: 0
|
||||
hi: 21
|
||||
id: 1
|
||||
- Return:
|
||||
expression:
|
||||
Unit:
|
||||
span:
|
||||
lo: 7
|
||||
hi: 11
|
||||
id: 0
|
||||
finalize_arguments: []
|
||||
span:
|
||||
lo: 0
|
||||
hi: 23
|
||||
id: 1
|
||||
- Return:
|
||||
expression:
|
||||
Unit:
|
||||
span:
|
||||
lo: 7
|
||||
hi: 11
|
||||
id: 0
|
||||
finalize_arguments:
|
||||
- Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":24}\"}"
|
||||
span:
|
||||
lo: 0
|
||||
hi: 26
|
||||
id: 2
|
||||
- Return:
|
||||
expression:
|
||||
Unit:
|
||||
span:
|
||||
lo: 7
|
||||
hi: 11
|
||||
id: 0
|
||||
finalize_arguments:
|
||||
- Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":24}\"}"
|
||||
- Identifier: "{\"id\":\"2\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":29}\"}"
|
||||
span:
|
||||
lo: 0
|
||||
hi: 31
|
||||
id: 3
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
namespace: Parse
|
||||
expectation: Fail
|
||||
outputs:
|
||||
- "Error [EPAR0370005]: expected 'import', 'program' -- found 'stub'\n --> test:3:1\n |\n 3 | stub foo.aleo {\n | ^^^^"
|
@ -1,110 +0,0 @@
|
||||
---
|
||||
namespace: Parse
|
||||
expectation: Pass
|
||||
outputs:
|
||||
- imports: {}
|
||||
stubs: {}
|
||||
program_scopes:
|
||||
test:
|
||||
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}"
|
||||
consts: []
|
||||
structs: []
|
||||
mappings:
|
||||
- - Yo
|
||||
- identifier: "{\"id\":\"2\",\"name\":\"Yo\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":36}\"}"
|
||||
key_type: Address
|
||||
value_type:
|
||||
Integer: U32
|
||||
span:
|
||||
lo: 26
|
||||
hi: 53
|
||||
id: 3
|
||||
functions:
|
||||
- - main
|
||||
- annotations: []
|
||||
variant: Transition
|
||||
identifier: "{\"id\":\"4\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":70,\\\"hi\\\":74}\"}"
|
||||
input:
|
||||
- Internal:
|
||||
identifier: "{\"id\":\"5\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":75,\\\"hi\\\":76}\"}"
|
||||
mode: None
|
||||
type_: Address
|
||||
span:
|
||||
lo: 75
|
||||
hi: 76
|
||||
id: 6
|
||||
output: []
|
||||
output_type: Unit
|
||||
block:
|
||||
statements:
|
||||
- Assert:
|
||||
variant:
|
||||
AssertEq:
|
||||
- Identifier: "{\"id\":\"7\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":107,\\\"hi\\\":108}\"}"
|
||||
- Access:
|
||||
Member:
|
||||
inner:
|
||||
Identifier: "{\"id\":\"8\",\"name\":\"self\",\"span\":\"{\\\"lo\\\":110,\\\"hi\\\":114}\"}"
|
||||
name: "{\"id\":\"9\",\"name\":\"caller\",\"span\":\"{\\\"lo\\\":115,\\\"hi\\\":121}\"}"
|
||||
span:
|
||||
lo: 110
|
||||
hi: 121
|
||||
id: 10
|
||||
span:
|
||||
lo: 97
|
||||
hi: 106
|
||||
id: 11
|
||||
- Assert:
|
||||
variant:
|
||||
AssertEq:
|
||||
- Identifier: "{\"id\":\"12\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":142,\\\"hi\\\":143}\"}"
|
||||
- Literal:
|
||||
Address:
|
||||
- test.aleo
|
||||
- span:
|
||||
lo: 145
|
||||
hi: 157
|
||||
- 14
|
||||
span:
|
||||
lo: 132
|
||||
hi: 141
|
||||
id: 15
|
||||
- Assert:
|
||||
variant:
|
||||
AssertEq:
|
||||
- Identifier: "{\"id\":\"16\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":178,\\\"hi\\\":179}\"}"
|
||||
- Literal:
|
||||
Address:
|
||||
- hello
|
||||
- span:
|
||||
lo: 181
|
||||
hi: 186
|
||||
- 18
|
||||
span:
|
||||
lo: 168
|
||||
hi: 177
|
||||
id: 19
|
||||
- Return:
|
||||
expression:
|
||||
Literal:
|
||||
Address:
|
||||
- foo
|
||||
- span:
|
||||
lo: 209
|
||||
hi: 212
|
||||
- 21
|
||||
span:
|
||||
lo: 202
|
||||
hi: 218
|
||||
id: 22
|
||||
span:
|
||||
lo: 87
|
||||
hi: 224
|
||||
id: 23
|
||||
span:
|
||||
lo: 59
|
||||
hi: 224
|
||||
id: 24
|
||||
span:
|
||||
lo: 2
|
||||
hi: 226
|
Loading…
Reference in New Issue
Block a user