1
0
forked from aniani/vim

patch 8.0.1224: still interference between test functions

Problem:    Still interference between test functions.
Solution:   Clear autocommands. Wipe all buffers.  Fix tests that depend on a
            specific start context.
This commit is contained in:
Bram Moolenaar
2017-10-27 00:55:04 +02:00
parent 9ad89c6c4f
commit cf1ba35fc2
12 changed files with 32 additions and 29 deletions

View File

@@ -151,7 +151,7 @@ endfunc
func XageTests(cchar)
call s:setup_commands(a:cchar)
let list = [{'bufnr': 1, 'lnum': 1}]
let list = [{'bufnr': bufnr('%'), 'lnum': 1}]
call g:Xsetlist(list)
" Jumping to a non existent list should return error