Test: VimwikiDiaryGenerateLinks with wiki syntax (Issue: #921)

This commit is contained in:
Tinmarino
2020-07-27 14:47:19 -04:00
parent af08e34000
commit b124c9b1d8
2 changed files with 122 additions and 11 deletions

View File

@@ -80,6 +80,18 @@ Before (Define functions):
write %
endfunction
function! DeleteFile(path)
let path = expand(a:path)
" Delete file
try
call delete(path)
catch | endtry
" Delete Buffer
try
execute 'bdelete! ' . path
catch | endtry
endfunction
" Print a command output to the buffer
function! PrintCommand(cmd)
redir => message
@@ -104,4 +116,4 @@ Before (Define functions):
AssertEqual a:nr + 2, tabpagenr()
endfunction
# vim: ft=vim
# vim: ft=vim:sw=2