mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 05:17:11 -07:00
Propose only installed candidates where appropriate.
Resolves issue #13.
This commit is contained in:
parent
e13d3f2f50
commit
fd1b0b94ce
2 changed files with 18 additions and 12 deletions
|
@ -40,7 +40,7 @@ test_cases = {
|
|||
"install 1." => [],
|
||||
|
||||
"uninstall " => ["ant"],
|
||||
"uninstall an" => ["ant"],
|
||||
"uninstall a" => ["ant"],
|
||||
"uninstall j" => [],
|
||||
"uninstall 1." => [],
|
||||
|
||||
|
@ -87,19 +87,19 @@ test_cases = {
|
|||
"update a" => [],
|
||||
|
||||
"flush " => ["broadcast", "archives", "temp"],
|
||||
"flush a" => [],
|
||||
"flush x" => [],
|
||||
|
||||
# Third parameters complete correctly
|
||||
#"install ant 1.10." => ["1.10.0", "1.10.1"], # TODO: issue #4
|
||||
"uninstall ant 1.10." => ["1.10.1"],
|
||||
"list " => [],
|
||||
"list ant " => [],
|
||||
"use ant " => ["1.9.9", "1.10.1"],
|
||||
"default ant " => ["1.9.9", "1.10.1"],
|
||||
"current " => [],
|
||||
"upgrade " => [],
|
||||
"offline " => [],
|
||||
"selfupdate " => [],
|
||||
"flush " => [],
|
||||
"current ant " => [],
|
||||
"upgrade ant " => [],
|
||||
"offline ant " => [],
|
||||
"selfupdate ant " => [],
|
||||
"flush ant " => [],
|
||||
|
||||
# Fourth parameters complete correctly
|
||||
"install ant 1.10.2 " => [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue