Skip to content
Snippets Groups Projects
Commit 1a5cb0c1 authored by Đoàn Trần Công Danh's avatar Đoàn Trần Công Danh Committed by Brad King
Browse files

testDebuggerNamedPipe: fix for cppdap with nlohmann_json


Fixes: #25190
Signed-off-by: default avatarĐoàn Trần Công Danh <congdanhqx@gmail.com>
parent f3d9a821
No related branches found
No related tags found
No related merge requests found
......@@ -180,13 +180,13 @@ int runTest(int argc, char* argv[])
auto debuggerResponse = debuggerResponseStream.str();
std::vector<std::string> expectedResponses = {
R"("event" : "initialized".*"type" : "event")",
R"("command" : "launch".*"success" : true.*"type" : "response")",
R"("command" : "configurationDone".*"success" : true.*"type" : "response")",
R"("reason" : "started".*"threadId" : 1.*"event" : "thread".*"type" : "event")",
R"("reason" : "exited".*"threadId" : 1.*"event" : "thread".*"type" : "event")",
R"("exitCode" : 0.*"event" : "exited".*"type" : "event")",
R"("command" : "disconnect".*"success" : true.*"type" : "response")"
R"("event" *: *"initialized".*"type" *: *"event")",
R"("command" *: *"launch".*"success" *: *true.*"type" *: *"response")",
R"("command" *: *"configurationDone".*"success" *: *true.*"type" *: *"response")",
R"("reason" *: *"started".*"threadId" *: *1.*"event" *: *"thread".*"type" *: *"event")",
R"("reason" *: *"exited".*"threadId" *: *1.*"event" *: *"thread".*"type" *: *"event")",
R"("exitCode" *: *0.*"event" *: *"exited".*"type" *: *"event")",
R"("command" *: *"disconnect".*"success" *: *true.*"type" *: *"response")"
};
for (auto& regexString : expectedResponses) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment