Commit 885122db 885122dbab6ef57587808ae48483b566cbfe0e7d by Nicolas Perriault

fixes #10 - the 'log' method in the timeout test is not properly called

1 parent aaae5f34
......@@ -637,7 +637,7 @@
}
this.started = true;
if (isType(this.options.timeout, "number") && this.options.timeout > 0) {
self.log("execution timeout set to " + this.options.timeout + 'ms', "info");
this.log("execution timeout set to " + this.options.timeout + 'ms', "info");
setTimeout(function(self) {
self.log("timeout of " + self.options.timeout + "ms exceeded", "info").exit();
}, this.options.timeout, this);
......