Skip to content

Commit 7404c9d

Browse files
Alexey Utkinalexey-utkin
authored andcommitted
UTBotCpp-235 Ambiguous restoration of the source file name from the test file #235
Fix integration tests
1 parent 8882873 commit 7404c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vscode-plugin/src/test/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export function checkTestFilesGenerated(dirPath: string, srcFiles: string[]): bo
136136
walk(testDirPath).forEach(file => {
137137
const testFileName = path.parse(file).name;
138138
if (testFileName.search(/_stub$/) < 0) {
139-
const fileName = checkForFirstMatch(testFileName, [/_test_error$/, /_test$/]);
139+
const fileName = checkForFirstMatch(testFileName, [/_dot_c_test_error$/, /_dot_c_test$/]);
140140
if (!srcFilesUsedMap.has(fileName)) {
141141
TestLogger.getLogger().error('Unable to find a corresponding source file for test: [%s]', testFileName);
142142
checked = false;

0 commit comments

Comments
 (0)