Skip to content

Commit a71256c

Browse files
committed
Merge branch 'topic/fix-tests-win' into 'master'
Second attempt at fixing tests on Windows See merge request eng/ide/ada_language_server!1515
2 parents 1a8c338 + 411da3c commit a71256c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/vscode/ada/test/suite/general/debug.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ suite('Debug Configurations', function () {
4141
"ignoreFailures": true
4242
}
4343
],
44-
"miDebuggerPath": "${getOrFindGdb()?.replace(/\\/, '\\') ?? '<undefined>'}"
44+
"miDebuggerPath": "${getOrFindGdb()?.replace(/\\/g, '\\\\') ?? '<undefined>'}"
4545
},
4646
{
4747
"name": "Ada: Attach debugger to running process - src/main1.adb",
@@ -50,7 +50,7 @@ suite('Debug Configurations', function () {
5050
"program": "\${workspaceFolder}/obj/main1exec${exe}",
5151
"processId": "\${command:pickProcess}",
5252
"MIMode": "gdb",
53-
"miDebuggerPath": "${getOrFindGdb()?.replace(/\\/, '\\') ?? '<undefined>'}"
53+
"miDebuggerPath": "${getOrFindGdb()?.replace(/\\/g, '\\\\') ?? '<undefined>'}"
5454
},
5555
{
5656
"type": "cppdbg",

0 commit comments

Comments
 (0)