blob: 36eb40117d78a70176fdfc7165cbd0c7705eff7c (
plain)
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
|
test AG:
let x = 1
guard (x == 0)
test AE:
spawn as p
let x = 2
expect /$x/ from p timeout 0.0
def fg:
let x = 1
guard (x == 0)
test BG:
fg
def gg (x):
let y = 2
guard (x == y)
test CG:
let z = 3
gg (z)
def fe on p:
let x = 1
expect /$x/ from p timeout 0.0
test BE:
spawn as p
fe on p
def ge (x) on p:
guard (x /= 0)
let y = 2
expect /$x $y/ from p timeout 0.0
test CE:
spawn as p
let z = 3
ge (z) on p
|