summaryrefslogtreecommitdiff
path: root/src/arg_defs.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2020-04-05 10:47:40 -0700
committerDaniel Mueller <deso@posteo.net>2020-04-05 10:47:40 -0700
commitcac16996ffc4ef15e3eaf2943a7ac42c921f55ac (patch)
tree1296e71963489db8fb4ff55c4d4d43843c43ebb0 /src/arg_defs.rs
parentb2368d3647a469f1e923f19325d5a87daed4436e (diff)
downloadnitrocli-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 'src/arg_defs.rs')
0 files changed, 0 insertions, 0 deletions