mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Better test name.
This commit is contained in:
@@ -590,7 +590,7 @@ describe('GitRepositoryAsync', () => {
|
||||
repo = GitRepositoryAsync.open(workingDirectory)
|
||||
})
|
||||
|
||||
it('can get the line diff', async () => {
|
||||
it('returns the old and new lines of the diff', async () => {
|
||||
const {oldStart, newStart, oldLines, newLines} = await repo.getLineDiffs('a.txt', 'hi there')
|
||||
expect(oldStart).toBe(0)
|
||||
expect(oldLines).toBe(0)
|
||||
|
||||
Reference in New Issue
Block a user