mirror of
https://github.com/dense-analysis/ale
synced 2024-12-19 04:45:31 +00:00
5c778e1ae7
Certain tests could break if you ran them separately from other tests. They have been patched. `run-tests` now has a `--fast` option which runs tests with only the fastest Vim version ALE tests with, and the custom checks.
25 lines
725 B
Plaintext
25 lines
725 B
Plaintext
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.',
|
|
\ ])
|