diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-06 22:32:39 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-06 22:35:45 -0400 |
commit | ac1fbc28601a05cdca19f868449c86b8dd70328c (patch) | |
tree | 094ccda252f6b08dd1dda536607aee2a7477acbf /src | |
parent | b5539c2044ab029db8d90adbfc293500c9426bed (diff) | |
download | rneovim-ac1fbc28601a05cdca19f868449c86b8dd70328c.tar.gz rneovim-ac1fbc28601a05cdca19f868449c86b8dd70328c.tar.bz2 rneovim-ac1fbc28601a05cdca19f868449c86b8dd70328c.zip |
fixup! vim-patch:8.0.1782: no simple way to label quickfix entries
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_quickfix.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim index a5845c5206..c6d083dfcc 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -137,6 +137,8 @@ func XlistTests(cchar) \ ' 5:50 col 25 55: one'], l) " Test for module names, one needs to explicitly set `'valid':v:true` so + let save_shellslash = &shellslash + set shellslash call g:Xsetlist([ \ {'lnum':10,'col':5,'type':'W','module':'Data.Text','text':'ModuleWarning','nr':11,'valid':v:true}, \ {'lnum':20,'col':10,'type':'W','module':'Data.Text','filename':'Data/Text.hs','text':'ModuleWarning','nr':22,'valid':v:true}, @@ -145,6 +147,7 @@ func XlistTests(cchar) call assert_equal([' 1 Data.Text:10 col 5 warning 11: ModuleWarning', \ ' 2 Data.Text:20 col 10 warning 22: ModuleWarning', \ ' 3 Data/Text.hs:30 col 15 warning 33: FileWarning'], l) + let &shellslash = save_shellslash " Error cases call assert_fails('Xlist abc', 'E488:') |