diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2017-02-13 02:20:01 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2017-02-13 02:22:29 +0300 |
commit | 6e1259ee99a51a8cb52f975ebb45ede2792a4730 (patch) | |
tree | 39fd2ef32ad7dc45e0868356f1341f5a1269d037 | |
parent | f6c65e3cf7b87a07b7dffb0c3d77a6932241c242 (diff) |
Remove unnecessary variable from tests
-rwxr-xr-x | test/segments/dir.spec | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/segments/dir.spec b/test/segments/dir.spec index 0f253ac3..69359e25 100755 --- a/test/segments/dir.spec +++ b/test/segments/dir.spec @@ -73,7 +73,6 @@ function testTruncationFromRightWorks() { function testTruncateWithFolderMarkerWorks() { POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir) - POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 POWERLEVEL9K_SHORTEN_STRATEGY="truncate_with_folder_marker" local BASEFOLDER=/tmp/powerlevel9k-test @@ -89,13 +88,11 @@ function testTruncateWithFolderMarkerWorks() { unset BASEFOLDER unset FOLDER unset POWERLEVEL9K_SHORTEN_STRATEGY - unset POWERLEVEL9K_SHORTEN_DIR_LENGTH unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS } function testTruncateWithFolderMarkerWithChangedFolderMarker() { POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir) - POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 POWERLEVEL9K_SHORTEN_STRATEGY="truncate_with_folder_marker" POWERLEVEL9K_SHORTEN_FOLDER_MARKER='.xxx' @@ -113,7 +110,6 @@ function testTruncateWithFolderMarkerWithChangedFolderMarker() { unset FOLDER unset POWERLEVEL9K_SHORTEN_FOLDER_MARKER unset POWERLEVEL9K_SHORTEN_STRATEGY - unset POWERLEVEL9K_SHORTEN_DIR_LENGTH unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS } |