30 lines
225 B
Plaintext
30 lines
225 B
Plaintext
|
do
|
||
|
let! a = 29
|
||
|
a = 31
|
||
|
assert 31 == a
|
||
|
end
|
||
|
|
||
|
let b = do
|
||
|
4 + 1
|
||
|
7
|
||
|
end
|
||
|
|
||
|
assert 7 == b
|
||
|
|
||
|
let c = 3.2
|
||
|
|
||
|
do
|
||
|
let c = [47]
|
||
|
assert [47] == c
|
||
|
|
||
|
do
|
||
|
let c = "salut"
|
||
|
assert "salut" == c
|
||
|
end
|
||
|
|
||
|
assert [47] == c
|
||
|
end
|
||
|
|
||
|
assert 3.2 == c
|
||
|
|