summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,