Fix: write file properly

This commit is contained in:
SukkaW
2024-09-20 16:19:35 +08:00
parent 5c8636d7b3
commit 31136d8409
2 changed files with 17 additions and 4 deletions

View File

@@ -50,4 +50,10 @@ describe('fileEqual', () => {
['A', 'B'],
false
));
it('eol', () => test(
['A', 'B'],
['A', 'B', ''],
true
));
});