mirror of https://github.com/dense-analysis/ale
Fix a mistake in the flow tests
This commit is contained in:
parent
52c933cd72
commit
71c2e65d64
|
@ -38,7 +38,7 @@ Execute(The flow handler should process errors correctly.):
|
|||
\ "descr": "number",
|
||||
\ "type": "Blame",
|
||||
\ "loc": {
|
||||
\ "source": expand('%:p:h'),
|
||||
\ "source": expand('%:p'),
|
||||
\ "type": "SourceFile",
|
||||
\ "start": {
|
||||
\ "line": 417,
|
||||
|
@ -51,7 +51,7 @@ Execute(The flow handler should process errors correctly.):
|
|||
\ "offset": 9504
|
||||
\ }
|
||||
\ },
|
||||
\ "path": expand('%:p:h'),
|
||||
\ "path": expand('%:p'),
|
||||
\ "line": 417,
|
||||
\ "endline": 417,
|
||||
\ "start": 10,
|
||||
|
@ -72,7 +72,7 @@ Execute(The flow handler should process errors correctly.):
|
|||
\ "descr": "array type",
|
||||
\ "type": "Blame",
|
||||
\ "loc": {
|
||||
\ "source": expand('%:p:h'),
|
||||
\ "source": expand('%:p'),
|
||||
\ "type": "SourceFile",
|
||||
\ "start": {
|
||||
\ "line": 416,
|
||||
|
@ -85,7 +85,7 @@ Execute(The flow handler should process errors correctly.):
|
|||
\ "offset": 9491
|
||||
\ }
|
||||
\ },
|
||||
\ "path": expand('%:p:h'),
|
||||
\ "path": expand('%:p'),
|
||||
\ "line": 416,
|
||||
\ "endline": 416,
|
||||
\ "start": 43,
|
||||
|
@ -102,7 +102,7 @@ Execute(The flow handler should process errors correctly.):
|
|||
\ "descr": "unreachable code",
|
||||
\ "type": "Blame",
|
||||
\ "loc": {
|
||||
\ "source": expand('%:p:h'),
|
||||
\ "source": expand('%:p'),
|
||||
\ "type": "SourceFile",
|
||||
\ "start": {
|
||||
\ "line": 419,
|
||||
|
@ -115,7 +115,7 @@ Execute(The flow handler should process errors correctly.):
|
|||
\ "offset": 9626
|
||||
\ }
|
||||
\ },
|
||||
\ "path": expand('%:p:h'),
|
||||
\ "path": expand('%:p'),
|
||||
\ "line": 419,
|
||||
\ "endline": 421,
|
||||
\ "start": 3,
|
||||
|
@ -156,7 +156,7 @@ Execute(The flow handler should fetch the correct location for the currently ope
|
|||
\ "descr": "React element `Foo`",
|
||||
\ "type": "Blame",
|
||||
\ "loc": {
|
||||
\ "source": expand('%:p:h'),
|
||||
\ "source": expand('%:p'),
|
||||
\ "type": "SourceFile",
|
||||
\ "start": {
|
||||
\ "line": 6,
|
||||
|
@ -169,7 +169,7 @@ Execute(The flow handler should fetch the correct location for the currently ope
|
|||
\ "offset": 108
|
||||
\ }
|
||||
\ },
|
||||
\ "path": expand('%:p:h'),
|
||||
\ "path": expand('%:p'),
|
||||
\ "line": 6,
|
||||
\ "endline": 6,
|
||||
\ "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`",
|
||||
\ "type": "Blame",
|
||||
\ "loc": {
|
||||
\ "source": expand('%:p:h'),
|
||||
\ "source": expand('%:p'),
|
||||
\ "type": "SourceFile",
|
||||
\ "start": {
|
||||
\ "line": 6,
|
||||
|
@ -227,7 +227,7 @@ Execute(The flow handler should fetch the correct location for the currently ope
|
|||
\ "offset": 108
|
||||
\ }
|
||||
\ },
|
||||
\ "path": expand('%:p:h'),
|
||||
\ "path": expand('%:p'),
|
||||
\ "line": 6,
|
||||
\ "endline": 6,
|
||||
\ "start": 3,
|
||||
|
|
Loading…
Reference in New Issue