From 97e281608fc7517da50e10072831f73ec7cb761d Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Sat, 1 Aug 2015 01:07:04 +0200 Subject: [PATCH] Fix error with tests --- tests/helpers.sh | 4 ++-- tests/test_plugin_installation.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/helpers.sh b/tests/helpers.sh index 9dc4139..397c607 100644 --- a/tests/helpers.sh +++ b/tests/helpers.sh @@ -4,8 +4,8 @@ FAIL="false" set_tmux_conf_helper() { > ~/.tmux.conf # empty filename - while read -r line; do - echo $line >> ~/.tmux.conf + while read line; do + echo "$line" >> ~/.tmux.conf done } diff --git a/tests/test_plugin_installation.sh b/tests/test_plugin_installation.sh index d013972..994f318 100755 --- a/tests/test_plugin_installation.sh +++ b/tests/test_plugin_installation.sh @@ -24,7 +24,7 @@ test_plugin_installation() { test_multiple_plugins_installation() { set_tmux_conf_helper <<- HERE set -g @plugin "tmux-plugins/tmux-example-plugin" - set -g @plugin 'tmux-plugins/tmux-copycat' + \ \ set -g @plugin 'tmux-plugins/tmux-copycat' run-shell "$PWD/tpm" HERE