aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_quickfix.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-08 09:38:14 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-08 10:43:30 -0400
commit1790f81f56087e45f24e82fb8d5f99a9e0f59d49 (patch)
tree704526b74328fad6b1743a29b11fafcdf7cf27f7 /src/nvim/testdir/test_quickfix.vim
parent9bf2741ba4dda8f7b0864858daaad52e596dd856 (diff)
downloadrneovim-1790f81f56087e45f24e82fb8d5f99a9e0f59d49.tar.gz
rneovim-1790f81f56087e45f24e82fb8d5f99a9e0f59d49.tar.bz2
rneovim-1790f81f56087e45f24e82fb8d5f99a9e0f59d49.zip
vim-patch:8.0.1029: return value of getqflist() is inconsistent
Problem: Return value of getqflist() is inconsistent. (Lcd47) Solution: Always return an "items" entry. https://github.com/vim/vim/commit/da73253a0b908bad03ddcd625fe3fb32008efbf6
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 c2c4f0bfdd..c6324b1dc2 100644
--- a/src/nvim/testdir/test_quickfix.vim
+++ b/src/nvim/testdir/test_quickfix.vim
@@ -2518,7 +2518,7 @@ func XgetListFromText(cchar)
call assert_equal(30, l[1].lnum)
call assert_equal({}, g:Xgetlist({'text' : 10}))
- call assert_equal({}, g:Xgetlist({'text' : []}))
+ call assert_equal([], g:Xgetlist({'text' : []}).items)
" Make sure that the quickfix stack is not modified
call assert_equal(0, g:Xgetlist({'nr' : '$'}).nr)