diff options
author | Daniel Mueller <deso@posteo.net> | 2020-04-05 10:47:40 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-04-05 10:47:40 -0700 |
commit | cac16996ffc4ef15e3eaf2943a7ac42c921f55ac (patch) | |
tree | 1296e71963489db8fb4ff55c4d4d43843c43ebb0 /Cargo.lock | |
parent | b2368d3647a469f1e923f19325d5a87daed4436e (diff) | |
download | nitrocli-cac16996ffc4ef15e3eaf2943a7ac42c921f55ac.tar.gz nitrocli-cac16996ffc4ef15e3eaf2943a7ac42c921f55ac.tar.bz2 |
Add test for bash completion functionality
This change adds a test for the previously introduced bash completion
functionality. To test the generated completion script, we spin up a
bash instance, source the script, and then perform a completion as the
shell would do it. It seems impossible to convince compgen to do the
heavy lifting for us and so we invoke the completion function with the
expected environment variables present.
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions