Blob Blame History Raw
commit 82b6b7024a1842fc4e6b6f96d1d6ad00a4c8a35a
Author: Tom Hughes <tom@compton.nu>
Date:   Wed Jul 16 19:12:18 2014 +0100

    We want to set the global s to true, not a local one

diff --git a/tests/test.js b/tests/test.js
index 3bd88d4..3ab9bf7 100644
--- a/tests/test.js
+++ b/tests/test.js
@@ -10,7 +10,7 @@ function printResult () {
 
 var start = +new Date;
 
-setImmediate(function (s) {
+setImmediate(function () {
 	printResult('It worked and took', +new Date - s, 'milliseconds.');
 	s = true;
 }, [start]);