update README and unit test

This commit is contained in:
harttle
2016-12-27 00:33:11 +08:00
parent 5b5dfd5c00
commit 84f7a399c5
2 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -365,7 +365,7 @@ describe('error', function() {
.be.rejected
.then(function(err) {
expect(err.stack).to.contain('AssertionError: tag -a not found');
expect(err.stack).to.match(/at .*:\d+:\d+\)$/);
expect(err.stack).to.match(/at .*:\d+:\d+\)/);
});
});