Skip to content

Commit

Permalink
Fix test cases for cnodejs.org use https
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Nov 3, 2014
1 parent d6e68ae commit 2265c74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@
"expr": true,
"multistr": true,
"onevar": false,
"unused": "vars",
"swindent": false
"unused": "vars"
}
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var pedding = require('pedding');

try {
var EventProxy = require('../');
var http = require('http');
var http = require('https');
var fs = require('fs');
} catch (e) {
var EventProxy = require('eventproxy');
Expand Down Expand Up @@ -606,7 +606,7 @@ describe("EventProxy", function () {
}
if (query === 'errorQuery') {
return callback(new Error('sync error'));
}
}
process.nextTick(callback.bind(null, null, true));
}

Expand Down

0 comments on commit 2265c74

Please sign in to comment.