Commit 08c2c710 08c2c71004c4a3bf776eaa7d537525fcf2a94714 by Nicolas Perriault

fixed linting issue

1 parent c24f3e2e
......@@ -688,12 +688,10 @@ Tester.prototype.assertRaises =
Tester.prototype.assertRaise =
Tester.prototype.assertThrows = function assertRaises(fn, args, message) {
"use strict";
var thrown = false,
error = undefined,
context = {
type: "assertRaises",
standard: "Function raises an error"
};
var error, thrown = false, context = {
type: "assertRaises",
standard: "Function raises an error"
};
try {
fn.apply(null, args);
} catch (err) {
......