1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
source: crates/aiken-lang/src/parser/definition/test.rs
description: "Code:\n\ntest invalid_inputs() fail {\n expect True = False\n\n False\n}\n"
---
Test(
Function {
arguments: [],
body: Sequence {
location: 31..59,
expressions: [
Assignment {
location: 31..50,
value: Var {
location: 45..50,
name: "False",
},
pattern: Constructor {
is_record: false,
location: 38..42,
name: "True",
arguments: [],
module: None,
constructor: (),
with_spread: false,
tipo: (),
},
kind: Expect,
annotation: None,
},
Var {
location: 54..59,
name: "False",
},
],
},
doc: None,
location: 0..26,
name: "invalid_inputs",
public: false,
return_annotation: None,
return_type: (),
end_position: 60,
can_error: true,
},
)