Skip to content

Commit

Permalink
Okay this time for real though
Browse files Browse the repository at this point in the history
  • Loading branch information
nturinski committed Jul 18, 2023
1 parent 31fb4ea commit bf550bd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions utils/test/AzExtFsExtra.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ suite('AzExtFsExtra', function (this: Mocha.Suite): void {
await AzExtFsExtra.appendFile(filePath, appendContents);

const fsFileContents = fs.readFileSync(filePath).toString();
assert.strictEqual(expectedAppendContent, fsFileContents);
const expectedContent = `writeFileTest\r\n\r\nappendFile`;
assert.strictEqual(expectedContent, fsFileContents);
});

test('readJSON', async () => {
Expand Down Expand Up @@ -297,8 +298,3 @@ function compareObjects(o1, o2): void {
assert.strictEqual(value, o2[key]);
}
}

// down here because it looks super ugly to write this template string in a suite
const expectedAppendContent = `writeFileTest
appendFile`;

0 comments on commit bf550bd

Please sign in to comment.