0
0
mirror of https://github.com/vim/vim.git synced 2025-10-28 09:27:14 -04:00

patch 8.2.1658: expand('<stack>') has trailing ".."

Problem:    Expand('<stack>') has trailing "..".
Solution:   Remove the "..". (closes #6927)
This commit is contained in:
Bram Moolenaar
2020-09-11 17:59:23 +02:00
parent 8b848cafb0
commit a810db3f17
3 changed files with 9 additions and 6 deletions

View File

@@ -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