Skip to content

Commit ecfb705

Browse files
author
Philippe Gil
committed
fix regression after gpr2 exceptions fixed on windows
gpr-issues#259
1 parent ebfa005 commit ecfb705

File tree

2 files changed

+23
-8
lines changed
  • testsuite/gpr_lsp

2 files changed

+23
-8
lines changed

testsuite/gpr_lsp/import_using_space_string/windows/test.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@
109109
"range": {
110110
"start": {
111111
"line": 0,
112-
"character": 0
112+
"character": 5
113113
},
114114
"end": {
115115
"line": 0,
116-
"character": 0
116+
"character": 5
117117
}
118118
},
119119
"severity": 1,
120-
"message": "GPR parser unexpected ADA.IO_EXCEPTIONS.NAME_ERROR invalid path name \" \""
120+
"message": "imported project file \" .gpr\" not found"
121121
}
122122
]
123123
}

testsuite/gpr_lsp/invalid_file_name_support/windows/test.json

+20-5
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,32 @@
109109
"range": {
110110
"start": {
111111
"line": 0,
112-
"character": 0
112+
"character": 5
113113
},
114114
"end": {
115115
"line": 0,
116-
"character": 0
116+
"character": 5
117117
}
118118
},
119119
"severity": 1,
120-
121-
"message": "GPR parser unexpected ADA.IO_EXCEPTIONS.NAME_ERROR invalid path name \" \""
122-
}
120+
"source": "project",
121+
"message": "imported project file \" .gpr\" not found"
122+
},
123+
{
124+
"range": {
125+
"start": {
126+
"line": 1,
127+
"character": 22
128+
},
129+
"end": {
130+
"line": 1,
131+
"character": 22
132+
}
133+
},
134+
"severity": 1,
135+
"source": "project",
136+
"message": "extended project file \" .gpr\" not found"
137+
}
123138
]
124139
}
125140
}

0 commit comments

Comments
 (0)