summaryrefslogtreecommitdiff
path: root/test/script/expansion.et
blob: 86a81dc7b612f4ebd4002692f8bd707cb6db7734 (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/