mirror of
https://github.com/friebetill/obsidian-file-diff.git
synced 2026-07-22 07:40:25 +00:00
Update test
This commit is contained in:
parent
7dfff85dd1
commit
5f7503598a
1 changed files with 3 additions and 2 deletions
|
|
@ -15,8 +15,9 @@ describe('FileDifferences.fromParsedDiff', () => {
|
|||
const fileDifferences = FileDifferences.fromParsedDiff(test);
|
||||
|
||||
expect(JSON.stringify(fileDifferences)).toBe(
|
||||
'{"file1Name":"1","file2Name":"2","differences":' +
|
||||
'[{"start":0,"lines":["-a","+b"]}]}'
|
||||
'{"file1Name":"1","file2Name":"2",' +
|
||||
'"differences":[{"file1Start":0,"file2Start":0,' +
|
||||
'"file1Lines":["a"],"file2Lines":["b"]}]}'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue