From 8cc27247b6b17214f68932ecd47f13454a5c7270 Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Thu, 17 Jul 2014 22:19:38 +0200 Subject: [PATCH] Change test helper file name --- test/tests/{test_helpers.sh => helpers.sh} | 0 test/tests/test_plugin_installation.sh | 2 +- test/tests/test_plugin_sourcing.sh | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename test/tests/{test_helpers.sh => helpers.sh} (100%) diff --git a/test/tests/test_helpers.sh b/test/tests/helpers.sh similarity index 100% rename from test/tests/test_helpers.sh rename to test/tests/helpers.sh diff --git a/test/tests/test_plugin_installation.sh b/test/tests/test_plugin_installation.sh index da11548..38b14d4 100755 --- a/test/tests/test_plugin_installation.sh +++ b/test/tests/test_plugin_installation.sh @@ -2,7 +2,7 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source $CURRENT_DIR/test_helpers.sh +source $CURRENT_DIR/helpers.sh test_plugin_installation() { set_tmux_conf_helper <<- HERE diff --git a/test/tests/test_plugin_sourcing.sh b/test/tests/test_plugin_sourcing.sh index fee32a3..08cfed0 100755 --- a/test/tests/test_plugin_sourcing.sh +++ b/test/tests/test_plugin_sourcing.sh @@ -2,10 +2,10 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source $CURRENT_DIR/test_helpers.sh +source $CURRENT_DIR/helpers.sh check_binding_defined() { - local binding=$1 + local binding="$1" tmux list-keys | grep -q "$binding" }