diff --git a/src/espIdf/unitTest/adapter.ts b/src/espIdf/unitTest/adapter.ts index 61febd049..af098fbea 100644 --- a/src/espIdf/unitTest/adapter.ts +++ b/src/espIdf/unitTest/adapter.ts @@ -202,7 +202,7 @@ export class UnitTest { children: [], testName: "TEST_ALL", }; - const testRegex = new RegExp('TEST_CASE\\("(.*)",\\s*"(.*)"\\)', "gm"); + const testRegex = new RegExp('TEST_CASE\\(\\s*"(.*)"\\s*,\\s*"(.*)"\\s*\\)', "gm"); const fileText = await readFile(file.fsPath, "utf8"); let match = testRegex.exec(fileText); while (match != null) {