summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog016/prog016.script
blob: 5c0f249cca14389545e49b6e7695f648b5f5e1b5 (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
:load TopLevel

:complete repl "lev"
-- should list all 5 functions

:complete repl "levWRONG"
-- should list nothing

:complete repl 1 "lev"
-- should list one function

:complete repl 2-4 "lev"
-- should list three results

:complete repl 4-10 "lev"
-- should list last two results

:complete repl "level1"
-- should list two results

:complete repl "level2"
-- should list three results

:complete repl "Level"
-- should list five results

:complete repl "Level.l"
-- should list no results

:complete repl "Level1.l"
-- should list two results

:complete repl "Level2.Level2"
-- should list three results