Skip to content

Commit

Permalink
update test case regex
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 committed Dec 20, 2024
1 parent d5d9b1f commit e2df014
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 e2df014

Please sign in to comment.