aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/lsp/004errprj
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pyunit/lsp/004errprj')
-rw-r--r--testsuite/pyunit/lsp/004errprj/cmds.json8
-rw-r--r--testsuite/pyunit/lsp/004errprj/replies.json4
2 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/pyunit/lsp/004errprj/cmds.json b/testsuite/pyunit/lsp/004errprj/cmds.json
index 813a6cb50..63f9892fb 100644
--- a/testsuite/pyunit/lsp/004errprj/cmds.json
+++ b/testsuite/pyunit/lsp/004errprj/cmds.json
@@ -5,8 +5,8 @@
"method": "initialize",
"params": {
"processId": 2,
- "rootPath": ".",
- "rootUri": "file://.",
+ "rootPath": "@ROOT@",
+ "rootUri": "file://@ROOT@/004errprj",
"capabilities": {
"workspace": {
"applyEdit": true,
@@ -154,7 +154,7 @@
"trace": "off",
"workspaceFolders": [
{
- "uri": "file:///.",
+ "uri": "file://@ROOT@/004errprj",
"name": "workspacename"
}
]
@@ -170,7 +170,7 @@
"method": "textDocument/didOpen",
"params": {
"textDocument": {
- "uri": "file:///../files/hello.vhdl",
+ "uri": "file://@ROOT@/files/hello.vhdl",
"languageId": "vhdl",
"version": 1,
"text": "\n-- Hello world program\nuse std.textio.all; -- Imports the standard textio package.\n\n-- Defines a design entity, without any ports.\nentity hello_world is\nend hello_world;\n\narchitecture behaviour of hello_world is\nbegin\n process\n variable l : line;\n begin\n write (l, String'(\"Hello world!\"));\n writeline (output, l);\n wait;\n end process;\nend behaviour;\n\n"
diff --git a/testsuite/pyunit/lsp/004errprj/replies.json b/testsuite/pyunit/lsp/004errprj/replies.json
index 4c7f38082..7a16646b6 100644
--- a/testsuite/pyunit/lsp/004errprj/replies.json
+++ b/testsuite/pyunit/lsp/004errprj/replies.json
@@ -4,7 +4,7 @@
"method": "window/showMessage",
"params": {
"type": 1,
- "message": "json error in project file ./hdl-prj.json:1:3"
+ "message": "json error in project file @ROOT@/004errprj/hdl-prj.json:1:3"
}
},
{
@@ -35,7 +35,7 @@
"jsonrpc": "2.0",
"method": "textDocument/publishDiagnostics",
"params": {
- "uri": "file:///../files/hello.vhdl",
+ "uri": "file://@ROOT@/files/hello.vhdl",
"diagnostics": []
}
}