diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-14 07:18:06 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-15 10:14:53 +0800 |
commit | d6a6adf7082909d555914d85cac0a47d218d7b64 (patch) | |
tree | 9bfaa03c19a9987d3a019482ba699035f2cce001 /src/nvim/testdir | |
parent | ed65724e57d2af13cedc380ecfe4a495dae3afb7 (diff) | |
download | rneovim-d6a6adf7082909d555914d85cac0a47d218d7b64.tar.gz rneovim-d6a6adf7082909d555914d85cac0a47d218d7b64.tar.bz2 rneovim-d6a6adf7082909d555914d85cac0a47d218d7b64.zip |
vim-patch:8.2.1658: expand('<stack>') has trailing ".."
Problem: Expand('<stack>') has trailing "..".
Solution: Remove the "..". (closes vim/vim#6927)
https://github.com/vim/vim/commit/a810db3f17d477e057059c72062c08fd97bcea43
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_expand_func.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_expand_func.vim b/src/nvim/testdir/test_expand_func.vim index 3094aad3a4..fc0f7619c4 100644 --- a/src/nvim/testdir/test_expand_func.vim +++ b/src/nvim/testdir/test_expand_func.vim @@ -58,7 +58,7 @@ func Test_expand_sfile_and_stack() END call writefile(lines, 'Xstack') source Xstack - call assert_match('\<Xstack\[2\]', g:stack_value) + call assert_match('\<Xstack\[2\]$', g:stack_value) call delete('Xstack') endfunc |