summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2016-10-27 17:59:55 +0300
committerGitHub <noreply@github.com>2016-10-27 17:59:55 +0300
commitfd9c998f02966229d0dfa576d0056bae21267a2a (patch)
tree25f631fa68ce5bf68627cb9ab697eb4a41395cbe /test
parent3c92cf9748cff350a14cc8f42eda439c5fe01baa (diff)
parent8d7a4e462ae93169be59c07a06c269fc254aa96b (diff)
Merge pull request #333 from eviltak/dir-truncate-right-with-delim-len
Consider delimiter length while right truncating directories
Diffstat (limited to 'test')
-rwxr-xr-xtest/segments/dir.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/segments/dir.spec b/test/segments/dir.spec
index 035addea..840a298b 100755
--- a/test/segments/dir.spec
+++ b/test/segments/dir.spec
@@ -60,7 +60,7 @@ function testTruncationFromRightWorks() {
mkdir -p $FOLDER
cd $FOLDER
- assertEquals "%K{blue} %F{black}/tm…/po…/1/12/12…/12…/12…/12…/12…/12…/123456789 %k%F{blue}%f " "$(build_left_prompt)"
+ assertEquals "%K{blue} %F{black}/tmp/po…/1/12/123/12…/12…/12…/12…/12…/123456789 %k%F{blue}%f " "$(build_left_prompt)"
cd -
rm -fr /tmp/powerlevel9k-test