Get some more random tests to pass on Windows
This commit is contained in:
parent
677263f115
commit
3d2bddf4af
@ -1,3 +1,9 @@
|
|||||||
|
Before:
|
||||||
|
runtime ale_linters/cuda/nvcc.vim
|
||||||
|
|
||||||
|
After:
|
||||||
|
call ale#linter#Reset()
|
||||||
|
|
||||||
Execute(The cuda nvcc handler should parse errors from multiple files for NVCC 8.0):
|
Execute(The cuda nvcc handler should parse errors from multiple files for NVCC 8.0):
|
||||||
AssertEqual
|
AssertEqual
|
||||||
\ [
|
\ [
|
||||||
@ -5,19 +11,25 @@ Execute(The cuda nvcc handler should parse errors from multiple files for NVCC 8
|
|||||||
\ 'lnum': 1,
|
\ 'lnum': 1,
|
||||||
\ 'type': 'E',
|
\ 'type': 'E',
|
||||||
\ 'text': 'this declaration has no storage class or type specifier',
|
\ 'text': 'this declaration has no storage class or type specifier',
|
||||||
\ 'filename': '/tmp/cudatest/test.cu',
|
\ 'filename': has('win32')
|
||||||
|
\ ? 'C:\tmp\cudatest\test.cu'
|
||||||
|
\ : '/tmp/cudatest/test.cu',
|
||||||
\ },
|
\ },
|
||||||
\ {
|
\ {
|
||||||
\ 'lnum': 2,
|
\ 'lnum': 2,
|
||||||
\ 'type': 'E',
|
\ 'type': 'E',
|
||||||
\ 'text': 'attribute "global" does not apply here',
|
\ 'text': 'attribute "global" does not apply here',
|
||||||
\ 'filename': '/tmp/cudatest/common.h',
|
\ 'filename': has('win32')
|
||||||
|
\ ? 'C:\tmp\cudatest\common.h'
|
||||||
|
\ : '/tmp/cudatest/common.h',
|
||||||
\ },
|
\ },
|
||||||
\ {
|
\ {
|
||||||
\ 'lnum': 2,
|
\ 'lnum': 2,
|
||||||
\ 'type': 'E',
|
\ 'type': 'E',
|
||||||
\ 'text': 'expected a ";"',
|
\ 'text': 'expected a ";"',
|
||||||
\ 'filename': '/tmp/cudatest/common.h',
|
\ 'filename': has('win32')
|
||||||
|
\ ? 'C:\tmp\cudatest\common.h'
|
||||||
|
\ : '/tmp/cudatest/common.h',
|
||||||
\ },
|
\ },
|
||||||
\ ],
|
\ ],
|
||||||
\ ale_linters#cuda#nvcc#HandleNVCCFormat(0, [
|
\ ale_linters#cuda#nvcc#HandleNVCCFormat(0, [
|
||||||
|
@ -38,7 +38,7 @@ Execute(The flow handler should process errors correctly.):
|
|||||||
\ "descr": "number",
|
\ "descr": "number",
|
||||||
\ "type": "Blame",
|
\ "type": "Blame",
|
||||||
\ "loc": {
|
\ "loc": {
|
||||||
\ "source": "/home/w0rp/Downloads/graphql-js/src/language/parser.js",
|
\ "source": expand('%:p:h'),
|
||||||
\ "type": "SourceFile",
|
\ "type": "SourceFile",
|
||||||
\ "start": {
|
\ "start": {
|
||||||
\ "line": 417,
|
\ "line": 417,
|
||||||
@ -51,7 +51,7 @@ Execute(The flow handler should process errors correctly.):
|
|||||||
\ "offset": 9504
|
\ "offset": 9504
|
||||||
\ }
|
\ }
|
||||||
\ },
|
\ },
|
||||||
\ "path": "/home/w0rp/Downloads/graphql-js/src/language/parser.js",
|
\ "path": expand('%:p:h'),
|
||||||
\ "line": 417,
|
\ "line": 417,
|
||||||
\ "endline": 417,
|
\ "endline": 417,
|
||||||
\ "start": 10,
|
\ "start": 10,
|
||||||
@ -72,7 +72,7 @@ Execute(The flow handler should process errors correctly.):
|
|||||||
\ "descr": "array type",
|
\ "descr": "array type",
|
||||||
\ "type": "Blame",
|
\ "type": "Blame",
|
||||||
\ "loc": {
|
\ "loc": {
|
||||||
\ "source": "/home/w0rp/Downloads/graphql-js/src/language/parser.js",
|
\ "source": expand('%:p:h'),
|
||||||
\ "type": "SourceFile",
|
\ "type": "SourceFile",
|
||||||
\ "start": {
|
\ "start": {
|
||||||
\ "line": 416,
|
\ "line": 416,
|
||||||
@ -85,7 +85,7 @@ Execute(The flow handler should process errors correctly.):
|
|||||||
\ "offset": 9491
|
\ "offset": 9491
|
||||||
\ }
|
\ }
|
||||||
\ },
|
\ },
|
||||||
\ "path": "/home/w0rp/Downloads/graphql-js/src/language/parser.js",
|
\ "path": expand('%:p:h'),
|
||||||
\ "line": 416,
|
\ "line": 416,
|
||||||
\ "endline": 416,
|
\ "endline": 416,
|
||||||
\ "start": 43,
|
\ "start": 43,
|
||||||
@ -102,7 +102,7 @@ Execute(The flow handler should process errors correctly.):
|
|||||||
\ "descr": "unreachable code",
|
\ "descr": "unreachable code",
|
||||||
\ "type": "Blame",
|
\ "type": "Blame",
|
||||||
\ "loc": {
|
\ "loc": {
|
||||||
\ "source": "/home/w0rp/Downloads/graphql-js/src/language/parser.js",
|
\ "source": expand('%:p:h'),
|
||||||
\ "type": "SourceFile",
|
\ "type": "SourceFile",
|
||||||
\ "start": {
|
\ "start": {
|
||||||
\ "line": 419,
|
\ "line": 419,
|
||||||
@ -115,7 +115,7 @@ Execute(The flow handler should process errors correctly.):
|
|||||||
\ "offset": 9626
|
\ "offset": 9626
|
||||||
\ }
|
\ }
|
||||||
\ },
|
\ },
|
||||||
\ "path": "/home/w0rp/Downloads/graphql-js/src/language/parser.js",
|
\ "path": expand('%:p:h'),
|
||||||
\ "line": 419,
|
\ "line": 419,
|
||||||
\ "endline": 421,
|
\ "endline": 421,
|
||||||
\ "start": 3,
|
\ "start": 3,
|
||||||
@ -156,7 +156,7 @@ Execute(The flow handler should fetch the correct location for the currently ope
|
|||||||
\ "descr": "React element `Foo`",
|
\ "descr": "React element `Foo`",
|
||||||
\ "type": "Blame",
|
\ "type": "Blame",
|
||||||
\ "loc": {
|
\ "loc": {
|
||||||
\ "source": "/Users/rav/Projects/vim-ale-flow/index.js",
|
\ "source": expand('%:p:h'),
|
||||||
\ "type": "SourceFile",
|
\ "type": "SourceFile",
|
||||||
\ "start": {
|
\ "start": {
|
||||||
\ "line": 6,
|
\ "line": 6,
|
||||||
@ -169,7 +169,7 @@ Execute(The flow handler should fetch the correct location for the currently ope
|
|||||||
\ "offset": 108
|
\ "offset": 108
|
||||||
\ }
|
\ }
|
||||||
\ },
|
\ },
|
||||||
\ "path": "/Users/rav/Projects/vim-ale-flow/index.js",
|
\ "path": expand('%:p:h'),
|
||||||
\ "line": 6,
|
\ "line": 6,
|
||||||
\ "endline": 6,
|
\ "endline": 6,
|
||||||
\ "start": 3,
|
\ "start": 3,
|
||||||
@ -214,7 +214,7 @@ Execute(The flow handler should fetch the correct location for the currently ope
|
|||||||
\ "descr": "props of React element `Foo`",
|
\ "descr": "props of React element `Foo`",
|
||||||
\ "type": "Blame",
|
\ "type": "Blame",
|
||||||
\ "loc": {
|
\ "loc": {
|
||||||
\ "source": "/Users/rav/Projects/vim-ale-flow/index.js",
|
\ "source": expand('%:p:h'),
|
||||||
\ "type": "SourceFile",
|
\ "type": "SourceFile",
|
||||||
\ "start": {
|
\ "start": {
|
||||||
\ "line": 6,
|
\ "line": 6,
|
||||||
@ -227,7 +227,7 @@ Execute(The flow handler should fetch the correct location for the currently ope
|
|||||||
\ "offset": 108
|
\ "offset": 108
|
||||||
\ }
|
\ }
|
||||||
\ },
|
\ },
|
||||||
\ "path": "/Users/rav/Projects/vim-ale-flow/index.js",
|
\ "path": expand('%:p:h'),
|
||||||
\ "line": 6,
|
\ "line": 6,
|
||||||
\ "endline": 6,
|
\ "endline": 6,
|
||||||
\ "start": 3,
|
\ "start": 3,
|
||||||
|
Loading…
Reference in New Issue
Block a user