@@ -53,10 +53,9 @@ func! s:gometa_problems(metalinter) abort
53
53
try
54
54
let g: go_metalinter_command = a: metalinter
55
55
let expected = [
56
- \ {' lnum' : 3 , ' bufnr' : bufnr (' %' ), ' col' : 8 , ' pattern' : ' ' , ' valid' : 1 , ' vcol' : 0 , ' nr' : -1 , ' type' : ' w' , ' module' : ' ' , ' text' : ' [runner] Can '' t run linter golint: golint: analysis skipped: errors in package ' },
57
- \ {' lnum' : 3 , ' bufnr' : bufnr (' %' ), ' col' : 8 , ' pattern' : ' ' , ' valid' : 1 , ' vcol' : 0 , ' nr' : -1 , ' type' : ' e' , ' module' : ' ' , ' text' : ' Running error: golint: analysis skipped: errors in package ' }
56
+ \ {' lnum' : 3 , ' bufnr' : bufnr (' %' ), ' col' : 8 , ' pattern' : ' ' , ' valid' : 1 , ' vcol' : 0 , ' nr' : -1 , ' type' : ' w' , ' module' : ' ' , ' text' : ' import \"/quux\": cannot import absolute path ' },
57
+ \ {' lnum' : 3 , ' bufnr' : bufnr (' %' ), ' col' : 8 , ' pattern' : ' ' , ' valid' : 1 , ' vcol' : 0 , ' nr' : -1 , ' type' : ' e' , ' module' : ' ' , ' text' : ' import \"/quux\": cannot import absolute path ' },
58
58
\ ]
59
-
60
59
" clear the quickfix lists
61
60
call setqflist ([], ' r' )
62
61
@@ -141,8 +140,8 @@ func! s:gometaautosave_problems(metalinter) abort
141
140
try
142
141
let g: go_metalinter_command = a: metalinter
143
142
let expected = [
144
- \ {' lnum' : 3 , ' bufnr' : bufnr (' %' )+ 1 , ' col' : 8 , ' pattern' : ' ' , ' valid' : 1 , ' vcol' : 0 , ' nr' : -1 , ' type' : ' w' , ' module' : ' ' , ' text' : ' [runner] Can '' t run linter golint: golint: analysis skipped: errors in package ' },
145
- \ {' lnum' : 3 , ' bufnr' : bufnr (' %' )+ 1 , ' col' : 8 , ' pattern' : ' ' , ' valid' : 1 , ' vcol' : 0 , ' nr' : -1 , ' type' : ' e' , ' module' : ' ' , ' text' : ' Running error: golint: analysis skipped: errors in package ' }
143
+ \ {' lnum' : 3 , ' bufnr' : bufnr (' %' )+ 1 , ' col' : 8 , ' pattern' : ' ' , ' valid' : 1 , ' vcol' : 0 , ' nr' : -1 , ' type' : ' w' , ' module' : ' ' , ' text' : ' import \"/quux\": cannot import absolute path ' },
144
+ \ {' lnum' : 3 , ' bufnr' : bufnr (' %' )+ 1 , ' col' : 8 , ' pattern' : ' ' , ' valid' : 1 , ' vcol' : 0 , ' nr' : -1 , ' type' : ' e' , ' module' : ' ' , ' text' : ' import \"/quux\": cannot import absolute path ' },
146
145
\ ]
147
146
148
147
" clear the location lists
0 commit comments