From 71c2e65d6468bbbc2d08236d7dda0e3876613822 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 14 Sep 2017 00:10:47 +0100 Subject: [PATCH] Fix a mistake in the flow tests --- test/handler/test_flow_handler.vader | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/handler/test_flow_handler.vader b/test/handler/test_flow_handler.vader index f7a847c..5037fcb 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,