summaryrefslogtreecommitdiff
path: root/test/script/expansion.et
blob: 85c241d93ec942790817a2c9855ba59320660c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module expansion

asset expansion:
    path: ../asset/expansion.et

test VariableExpansion:
    spawn as p
    with p:
        send "load ${expansion.path}"
        expect /load-done/
        send "run VariableExpansion"
        for str in [ "1", "1.3", "abc", "abc" ]:
            expect /child-stdout p $str/
            expect /match p $str/
        expect /run-done 1 1 0 0/