summaryrefslogtreecommitdiff
path: root/test/util/test_cd_string_commands.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-28 17:46:43 +0100
committerw0rp <devw0rp@gmail.com>2020-08-28 17:46:43 +0100
commit3d5a2690ce707cbc9e71e8ed4d5d1955e4b26d65 (patch)
tree3ff7e13bb0cd6fd13ef4eae739230b40f0c490de /test/util/test_cd_string_commands.vader
parent34e409ea21baa017776b84ec0620eea9f6ec429c (diff)
downloadale-3d5a2690ce707cbc9e71e8ed4d5d1955e4b26d65.zip
#3325 - ale#path#BufferCdString now generates %s:h
Diffstat (limited to 'test/util/test_cd_string_commands.vader')
-rw-r--r--test/util/test_cd_string_commands.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util/test_cd_string_commands.vader b/test/util/test_cd_string_commands.vader
index f2102e48..85c5065f 100644
--- a/test/util/test_cd_string_commands.vader
+++ b/test/util/test_cd_string_commands.vader
@@ -16,5 +16,5 @@ Execute(BufferCdString should output the correct command string):
call ale#test#SetFilename('foo.txt')
AssertEqual
- \ has('unix') ? 'cd ' . ale#Escape(g:dir) . ' && ' : 'cd /d ' . ale#Escape(g:dir) . ' && ',
+ \ has('unix') ? 'cd %s:h && ' : 'cd /d %s:h && ',
\ ale#path#BufferCdString(bufnr(''))