Skip to content

Commit

Permalink
updates tests to work with git@2.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcsapo committed Oct 20, 2017
1 parent a6f66fd commit dfff611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test('git-unstaged', (t) => {
});
setTimeout(() => {
search(fixturesDirectory, 1, (c) => {
t.equal(c[path.resolve(fixturesDirectory, 'test1')], "## Initial commit on master\n?? t.txt\n");
t.equal(c[path.resolve(fixturesDirectory, 'test1')], "## No commits yet on master\n?? t.txt\n");
exec('rm -r ' + path.resolve(__dirname, 'fixtures', 'test1'), () => {
t.end();
});
Expand All @@ -29,7 +29,7 @@ test('git-unstaged', (t) => {
});
setTimeout(() => {
const contents = getContents(path.resolve(fixturesDirectory, 'test1'));
t.equal(contents, '## Initial commit on master\n?? t.txt\n')
t.equal(contents, '## No commits yet on master\n?? t.txt\n')
exec('rm -r ' + path.resolve(__dirname, 'fixtures', 'test1'), () => {
t.end();
});
Expand Down

0 comments on commit dfff611

Please sign in to comment.