e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
24 lines
725 B
Text
24 lines
725 B
Text
Before:
|
|
runtime ale_linters/glsl/glslang.vim
|
|
|
|
Execute(The glsl glslang handler should parse lines correctly):
|
|
AssertEqual
|
|
\ [
|
|
\ {
|
|
\ 'lnum': 4,
|
|
\ 'col': 0,
|
|
\ 'type': 'E',
|
|
\ 'text': '''gl_ModelViewProjectionMatrix'' : undeclared identifier',
|
|
\ },
|
|
\ {
|
|
\ 'lnum': 121,
|
|
\ 'col': 0,
|
|
\ 'type': 'W',
|
|
\ 'text': '''switch'' : last case/default label not followed by statements',
|
|
\ },
|
|
\ ],
|
|
\ ale_linters#glsl#glslang#Handle(bufnr(''), [
|
|
\ 'ERROR: 0:4: ''gl_ModelViewProjectionMatrix'' : undeclared identifier',
|
|
\ 'WARNING: 0:121: ''switch'' : last case/default label not followed by statements',
|
|
\ 'ERROR: 2 compilation errors. No code generated.',
|
|
\ ])
|