mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
Improve global test setup in test-helper.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user