From 80004ec1d6b927354358d9998e6058cb51b4565b Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 14 Nov 2016 10:18:20 +1100 Subject: [PATCH] fix: support a wording change made to git status in git v2.9.1 (#140) --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index 99d0961d8..0c03c4b97 100644 --- a/test.js +++ b/test.js @@ -109,7 +109,7 @@ describe('cli', function () { var content = fs.readFileSync('CHANGELOG.md', 'utf-8') var status = shell.exec('git status') - status.should.match(/On branch master\nnothing to commit, working directory clean\n/) + status.should.match(/On branch master\nnothing to commit, working (directory|tree) clean\n/) status.should.not.match(/STUFF.md/) content.should.match(/1\.0\.1/)