Better test name.

This commit is contained in:
joshaber
2015-12-10 16:44:51 -05:00
parent 0794ea365d
commit 5302fb84a9

View File

@@ -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)