test: fix function name typo

It doesn't affect the semantics of the test because it checks if that
particular bit of code throws an exception. It does, only it's a SyntaxError.
This commit is contained in:
Ben Noordhuis 2012-08-17 13:44:25 +02:00
parent a177f55b0c
commit 916832cd2c

View File

@ -45,7 +45,7 @@ immediated.on('error', function(e) {
}); });
immediated.run(function() { immediated.run(function() {
setImmedaite(function() { setImmediate(function() {
throw new Error('Immediate Error'); throw new Error('Immediate Error');
}); });
}); });