Skip to content

Commit

Permalink
FIX
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-carter-at-sf committed Jun 3, 2024
1 parent 15b4a85 commit 42af7c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/code-analyzer-core/test/output-format.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ describe("Other misc output formatting tests", () => {

function getContentsOfExpectedOutputFile(expectedOutputFileName: string): string {
const rawFileContents: string = fs.readFileSync(path.resolve('test','test-data','expectedOutputFiles',expectedOutputFileName), 'utf-8');
return rawFileContents.replaceAll('{{TEST_FOLDER_PLACEHOLDER}}', path.resolve('test') + path.sep);
return rawFileContents.replaceAll('{{TEST_FOLDER_PLACEHOLDER}}', path.resolve('test') + path.sep).replaceAll('\r','');
}

0 comments on commit 42af7c7

Please sign in to comment.