diff options
author | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2018-02-23 09:12:56 +0300 |
---|---|---|
committer | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2018-02-23 09:12:56 +0300 |
commit | 75a763f9018595ad861966e11de560ab00b8cd87 (patch) | |
tree | 38fea847da890ce8a82069acdaf3b9e3fcea900f /test | |
parent | ddcdad77a73d971a77283d90fd3ba78e0f61dc66 (diff) |
Updated test for POWERLEVEL9K_DIR_PATH_ABSOLUTE
Diffstat (limited to 'test')
-rwxr-xr-x | test/segments/dir.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/segments/dir.spec b/test/segments/dir.spec index efe99672..66009a86 100755 --- a/test/segments/dir.spec +++ b/test/segments/dir.spec @@ -18,11 +18,11 @@ function tearDown() { unset POWERLEVEL9K_LEFT_PROMPT_ELEMENTS } -function testAbsolutePathWorks() { +function testDirPathAbsoluteWorks() { POWERLEVEL9K_DIR_PATH_ABSOLUTE=true cd ~ - assertEquals "%K{blue} %F{black}…/12345678/123456789 %k%F{blue}%f " "$(build_left_prompt)" + assertEquals "%K{blue} %F{black}/home/travis %k%F{blue}%f " "$(build_left_prompt)" cd - unset POWERLEVEL9K_DIR_PATH_ABSOLUTE |