diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-07 08:38:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-07 08:38:18 +0200 |
| commit | b3adfa03b70fd5ecbe485488c10ee952ec811d93 (patch) | |
| tree | 094ccda252f6b08dd1dda536607aee2a7477acbf /src/nvim/testdir/test_quickfix.vim | |
| parent | 5a714c53f293fbbb168e4131b81ec280280ff240 (diff) | |
| parent | ac1fbc28601a05cdca19f868449c86b8dd70328c (diff) | |
| download | rneovim-b3adfa03b70fd5ecbe485488c10ee952ec811d93.tar.gz rneovim-b3adfa03b70fd5ecbe485488c10ee952ec811d93.tar.bz2 rneovim-b3adfa03b70fd5ecbe485488c10ee952ec811d93.zip | |
Merge #9978 from janlazo/vim-8.1.1285
vim-patch:8.1.{1284,1285,1286}
Diffstat (limited to 'src/nvim/testdir/test_quickfix.vim')
| -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:') |