diff --git a/test.js b/test.js index d0ca25e55..0054a2419 100644 --- a/test.js +++ b/test.js @@ -710,13 +710,13 @@ describe('cli', function () { }) it('does not display `all staged files` without the --commit-all flag', function () { - let result = execCli() + const result = execCli() result.code.should.equal(0) result.stdout.should.not.match(/and all staged files/) }) it('does display `all staged files` if the --commit-all flag is passed', function () { - let result = execCli('--commit-all') + const result = execCli('--commit-all') result.code.should.equal(0) result.stdout.should.match(/and all staged files/) })