Skip to content

Commit

Permalink
Merge pull request caolan#91 from zaphod1984/scriptFix
Browse files Browse the repository at this point in the history
fixed noConflict test
  • Loading branch information
Caolan McMahon committed Feb 13, 2012
2 parents f7fec58 + c09be73 commit a472964
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test-async.js
Expand Up @@ -559,7 +559,7 @@ exports['forEachLimit limit exceeds size'] = function(test){
setTimeout(function(){
args.push(x);
callback();
}, x*5);
}, x*25);
}, function(err){
test.same(args, arr);
test.done();
Expand All @@ -573,7 +573,7 @@ exports['forEachLimit limit equal size'] = function(test){
setTimeout(function(){
args.push(x);
callback();
}, x*5);
}, x*25);
}, function(err){
test.same(args, arr);
test.done();
Expand Down Expand Up @@ -1072,7 +1072,7 @@ exports['noConflict - node only'] = function(test){
var filename = __dirname + '/../lib/async.js';
fs.readFile(filename, function(err, content){
if(err) return test.done();
var Script = process.binding('evals').Script;
var Script = process.binding('evals').NodeScript;

var s = new Script(content, filename);
var s2 = new Script(
Expand Down

0 comments on commit a472964

Please sign in to comment.