Tests style updates

This commit is contained in:
Bruno Sutic
2015-08-01 01:54:34 +02:00
parent f8d259fe86
commit 40e6041512
6 changed files with 54 additions and 45 deletions

View File

@ -1,8 +1,9 @@
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TPM_DIR="$PWD"
source $CURRENT_DIR/helpers.sh
source "$CURRENT_DIR/helpers.sh"
check_binding_defined() {
local binding="$1"
@ -12,7 +13,7 @@ check_binding_defined() {
test_plugin_sourcing() {
set_tmux_conf_helper <<- HERE
set -g @plugin "doesnt_matter/tmux_test_plugin"
run-shell "$PWD/tpm"
run-shell "$TPM_DIR/tpm"
HERE
# manually creates a local tmux plugin