oldtests: finish port of 8.0.1224

This commit is contained in:
Jan Edmund Lazo
2018-08-14 18:19:56 -04:00
parent 8e2a892e70
commit 0bdd4e8393
2 changed files with 3 additions and 4 deletions

View File

@@ -253,16 +253,15 @@ func Test_BufReadCmdHelp()
au BufReadCmd * e +h
help
helpclose
au! BufReadCmd
endfunc
func Test_BufReadCmdHelpJump()
" This used to cause access to free memory
au BufReadCmd * e +h{
help
" } to fix highlighting
call assert_fails('help', 'E434:')
helpclose
au! BufReadCmd
endfunc

View File

@@ -15,7 +15,7 @@ describe('packadd', function()
source([=[
func SetUp()
let s:topdir = expand(expand('%:p:h') . '/Xdir')
let s:topdir = expand(getcwd() . '/Xdir')
exe 'set packpath=' . s:topdir
let s:plugdir = expand(s:topdir . '/pack/mine/opt/mytest')
endfunc