Skip to content

Commit

Permalink
Fix mocha_test lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
megawac committed Jul 27, 2015
1 parent f629c02 commit 1f97538
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions mocha_test/.jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"mocha": true,
"expr": true
}
2 changes: 1 addition & 1 deletion mocha_test/compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('compose', function(){
context('a function errors', function(){
it('yields the error and does not call later functions', function(done){
var add1called = false;
var mul3error = new Error('mul3 error')
var mul3error = new Error('mul3 error');
var add2 = function (n, cb) {
setTimeout(function () {
cb(null, n + 2);
Expand Down

0 comments on commit 1f97538

Please sign in to comment.