Test for 'set-option' plugin definition
This commit is contained in:
parent
4671ee745c
commit
527d123211
1 changed files with 16 additions and 0 deletions
|
@ -29,6 +29,22 @@ test_plugin_installation_via_tmux_key_binding() {
|
||||||
teardown_helper
|
teardown_helper
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test_plugin_installation_via_tmux_key_binding_set_option() {
|
||||||
|
set_tmux_conf_helper <<- HERE
|
||||||
|
set -g mode-keys vi
|
||||||
|
set-option -g @plugin "tmux-plugins/tmux-example-plugin"
|
||||||
|
run-shell "$TPM_DIR/tpm"
|
||||||
|
HERE
|
||||||
|
|
||||||
|
"$CURRENT_DIR/expect_successful_plugin_download" ||
|
||||||
|
fail_helper "[key-binding][set-option] plugin installation fails"
|
||||||
|
|
||||||
|
check_dir_exists_helper "$PLUGINS_DIR/tmux-example-plugin/" ||
|
||||||
|
fail_helper "[key-binding][set-option] plugin download fails"
|
||||||
|
|
||||||
|
teardown_helper
|
||||||
|
}
|
||||||
|
|
||||||
test_plugin_installation_custom_dir_via_tmux_key_binding() {
|
test_plugin_installation_custom_dir_via_tmux_key_binding() {
|
||||||
set_tmux_conf_helper <<- HERE
|
set_tmux_conf_helper <<- HERE
|
||||||
set -g mode-keys vi
|
set -g mode-keys vi
|
||||||
|
|
Loading…
Reference in a new issue