fixed linting issue
Showing
1 changed file
with
4 additions
and
6 deletions
... | @@ -688,12 +688,10 @@ Tester.prototype.assertRaises = | ... | @@ -688,12 +688,10 @@ Tester.prototype.assertRaises = |
688 | Tester.prototype.assertRaise = | 688 | Tester.prototype.assertRaise = |
689 | Tester.prototype.assertThrows = function assertRaises(fn, args, message) { | 689 | Tester.prototype.assertThrows = function assertRaises(fn, args, message) { |
690 | "use strict"; | 690 | "use strict"; |
691 | var thrown = false, | 691 | var error, thrown = false, context = { |
692 | error = undefined, | 692 | type: "assertRaises", |
693 | context = { | 693 | standard: "Function raises an error" |
694 | type: "assertRaises", | 694 | }; |
695 | standard: "Function raises an error" | ||
696 | }; | ||
697 | try { | 695 | try { |
698 | fn.apply(null, args); | 696 | fn.apply(null, args); |
699 | } catch (err) { | 697 | } catch (err) { | ... | ... |
-
Please register or sign in to post a comment