Completion of install now admits a path for local installs.

Resolves issue #16.
This commit is contained in:
Raphael Reitzig 2018-07-18 21:34:27 +02:00
parent d276be6768
commit b6a1469ed5
2 changed files with 12 additions and 4 deletions

View file

@ -101,11 +101,14 @@ test_cases = {
"flush ant " => [],
# Fourth parameters complete correctly
"install ant 1.10.2 " => [],
"install ant 1.10.2-mine /tm" => ["/tmp/"],
"uninstall ant 1.10.1 " => [],
"use ant 1.10.1 " => [],
"default ant 1.10.1 " => [],
# Fifth parameters complete correctly
"install ant 1.10.2-mine /tmp " => [],
# Lists of all candidates work
"install gr" => ["gradle", "grails", "groovy", "groovyserv"],
"install grad" => ["gradle"],