summaryrefslogtreecommitdiff
path: root/test/handler/test_flow_handler.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-09-14 00:10:47 +0100
committerw0rp <devw0rp@gmail.com>2017-09-14 00:10:47 +0100
commit71c2e65d6468bbbc2d08236d7dda0e3876613822 (patch)
treea57f5195804ec10f08d7868dc8bf0c41371f7533 /test/handler/test_flow_handler.vader
parent52c933cd72ca283eb5ac8542ab10c78ca50bf7cb (diff)
downloadale-71c2e65d6468bbbc2d08236d7dda0e3876613822.zip
Fix a mistake in the flow tests
Diffstat (limited to 'test/handler/test_flow_handler.vader')
-rw-r--r--test/handler/test_flow_handler.vader20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/handler/test_flow_handler.vader b/test/handler/test_flow_handler.vader
index f7a847cf..5037fcb1 100644
--- a/test/handler/test_flow_handler.vader
+++ b/test/handler/test_flow_handler.vader
@@ -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,