Skip to content

Commit

Permalink
Fix broken test using posix style path
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
  • Loading branch information
worksofliam committed Feb 15, 2024
1 parent 5a55e6b commit e3d7c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/test/includeMismatchFix.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe.skipIf(files.length === 0)(`include_mismatch_fix tests`, () => {
expect(articlePfLogs[0].message).toBe(`no object found for reference 'SAMREF'`);
expect(articlePfLogs[0].type).toBe(`warning`);

const articleIncludeLogs = targets.logger.getLogsFor(`QPROTOSRC/ARTICLE.RPGLE`);
const articleIncludeLogs = targets.logger.getLogsFor(path.join(`QPROTOSRC`, `ARTICLE.RPGLE`));
expect(articleIncludeLogs.length).toBe(1);
expect(articleIncludeLogs[0].message).toBe(`Rename suggestion`);
expect(articleIncludeLogs[0].type).toBe(`rename`);
Expand Down

0 comments on commit e3d7c25

Please sign in to comment.