From 616669123293d587380fe1ffedb8c46427baa73c Mon Sep 17 00:00:00 2001 From: jonschlinkert Date: Wed, 4 Mar 2015 14:58:05 -0500 Subject: [PATCH] update tests --- test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index da9ec3b..11df91a 100644 --- a/test.js +++ b/test.js @@ -36,9 +36,9 @@ describe('async:', function () { }); it('should throw an error when .git/config does not exist:', function (cb) { - git('foo', function (err, config) { + git({path: 'foo'}, function (err, config) { err.should.be.an.instanceof(Error); - err.message.should.equal('ENOENT, open \'foo/.git/config\''); + err.message.should.match(/ENOENT.*parse-git-config/); cb(); }); });