From 7db37828ebdfe83c49a2bbed6c1af076ef33f755 Mon Sep 17 00:00:00 2001 From: "Brian A. Ignacio" <brian.ignacio@espressif.com> Date: Mon, 13 Jan 2025 17:17:05 +0800 Subject: [PATCH] update test case regex (#1377) --- src/espIdf/unitTest/adapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {