From 26416784a8fc7dca1ac8692f400047421507b6d8 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 29 Sep 2014 01:02:50 +1000 Subject: [PATCH] dry up class tests --- test/classes.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/classes.js b/test/classes.js index f5108437dd..3dc175bc0d 100644 --- a/test/classes.js +++ b/test/classes.js @@ -11,7 +11,7 @@ suite("classes", function () { " }", "}" ]); - }, /cannot access super properties/, "unexpected error"); + }, /cannot access super properties/); }); test("no accessing super properties", function () { @@ -23,7 +23,7 @@ suite("classes", function () { " }", "}" ]); - }, /cannot access super properties/, "unexpected error"); + }, /cannot access super properties/); }); test("accessing super without having one", function () { @@ -35,7 +35,7 @@ suite("classes", function () { " }", "}" ]); - }, /cannot access super as this class has none/, "unexpected error"); + }, /cannot access super as this class has none/); }); test("defining constructor as a mutator", function () { @@ -46,6 +46,6 @@ suite("classes", function () { " }", "}" ]); - }, /unknown kind for constructor method/, "unexpected error"); + }, /unknown kind for constructor method/); }); });