Skip to content

Commit

Permalink
update test case regex (#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 authored Jan 13, 2025
1 parent 94f967f commit 7db3782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/espIdf/unitTest/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7db3782

Please sign in to comment.