Improve global test setup in test-helper.sh

This commit is contained in:
2014-05-24 11:22:45 +01:00
parent 279e68f7c5
commit c927126cb3
2 changed files with 9 additions and 7 deletions

View File

@@ -5,10 +5,6 @@ source "../test-helper.sh"
# env.sh tests.
#
# Setup
TMUXIFIER="/path/to/tmuxifier"
unset TMUXIFIER_LAYOUT_PATH
# When TMUXIFIER_LAYOUT_PATH is not set.
source "../../lib/env.sh"
assert 'echo $TMUXIFIER_LAYOUT_PATH' "${TMUXIFIER}/layouts"
@@ -26,8 +22,5 @@ assert 'echo $TMUXIFIER_LAYOUT_PATH' "/path/to/layouts"
unset TMUXIFIER_LAYOUT_PATH
# Teardown
unset TMUXIFIER
# End of tests.
assert_end "env.sh"