mirror of
https://github.com/neovim/neovim.git
synced 2026-04-29 18:54:18 +00:00
oldtests: finish port of 8.0.1224
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user