From 916832cd2c46edc498c3f71d0031cfa23a79f5c4 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 17 Aug 2012 13:44:25 +0200 Subject: [PATCH] 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. --- test/simple/test-domain-timers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/simple/test-domain-timers.js b/test/simple/test-domain-timers.js index f22b0b78d21..388673c0880 100644 --- a/test/simple/test-domain-timers.js +++ b/test/simple/test-domain-timers.js @@ -45,7 +45,7 @@ immediated.on('error', function(e) { }); immediated.run(function() { - setImmedaite(function() { + setImmediate(function() { throw new Error('Immediate Error'); }); });