mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-03 17:24:29 +00:00 
			
		
		
		
	fixup! vim-patch:8.0.1782: no simple way to label quickfix entries
This commit is contained in:
		@@ -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:')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user