aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_quickfix.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-02-03 12:11:07 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-02-11 19:03:27 +0100
commit9b6ed6c71ca0c5573e36bd35bb5c906fdc3e0269 (patch)
tree139d8058cf4676308fa27b6e097167cfa9621090 /src/nvim/testdir/test_quickfix.vim
parent348193f49c45c5ba74ce367a7fa192308f50e746 (diff)
downloadrneovim-9b6ed6c71ca0c5573e36bd35bb5c906fdc3e0269.tar.gz
rneovim-9b6ed6c71ca0c5573e36bd35bb5c906fdc3e0269.tar.bz2
rneovim-9b6ed6c71ca0c5573e36bd35bb5c906fdc3e0269.zip
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. https://github.com/vim/vim/commit/cf1ba35fc2ebd41b9a7738bbd1f026f5311560aa
Diffstat (limited to 'src/nvim/testdir/test_quickfix.vim')
-rw-r--r--src/nvim/testdir/test_quickfix.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim
index 95a7d29089..dd177fd633 100644
--- a/src/nvim/testdir/test_quickfix.vim
+++ b/src/nvim/testdir/test_quickfix.vim
@@ -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