-
Notifications
You must be signed in to change notification settings - Fork 3
/
label.tml
58 lines (56 loc) · 1.24 KB
/
label.tml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
--- !!perl/hash:TestML::Function
namespace:
TestML: !!perl/hash:TestML::Str
value: '0.1.0'
statements:
- !!perl/hash:TestML::Assignment
name: Plan
expr: !!perl/hash:TestML::Num
value: 4
- !!perl/hash:TestML::Assignment
name: Label
expr: !!perl/hash:TestML::Str
value: My label
- !!perl/hash:TestML::Statement
expr: !!perl/hash:TestML::Call
name: Get
args:
- !!perl/hash:TestML::Str
value: Label
assert: !!perl/hash:TestML::Assertion
name: EQ
expr: !!perl/hash:TestML::Str
value: My label
- !!perl/hash:TestML::Assignment
name: Label
expr: !!perl/hash:TestML::Str
value: '$BlockLabel: $num) The $fruit'
- !!perl/hash:TestML::Statement
expr: !!perl/hash:TestML::Call
name: GetLabel
args: []
assert: !!perl/hash:TestML::Assertion
name: EQ
expr: !!perl/hash:TestML::Point
name: text
points:
- text
data:
- !!perl/hash:TestML::Block
label: A Fruity Test
points:
num: '14'
fruit: apple
text: 'A Fruity Test: 14) The apple'
- !!perl/hash:TestML::Block
label: X
points:
num: '21'
fruit: pear
text: 'X: 21) The pear'
- !!perl/hash:TestML::Block
label: Last Test
points:
num: '99'
fruit: tomato
text: 'Last Test: 99) The tomato'