wuz/tests/test_do.wuz

30 lines
225 B
Plaintext
Raw Normal View History

2023-08-26 06:07:30 +00:00
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