Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Cleaning up rubble from the previous commit.
authorjzaefferer <joern.zaefferer@gmail.com>
Mon, 26 Jul 2010 17:46:18 +0000 (19:46 +0200)
committerjzaefferer <joern.zaefferer@gmail.com>
Mon, 26 Jul 2010 17:46:18 +0000 (19:46 +0200)
test/same.js

index 92940dc..618fde4 100644 (file)
@@ -1419,21 +1419,3 @@ test("Test that must be done at the end because they extend some primitive's pro
     // between RegExp and Function constructor because typeof on a RegExpt instance is "function"
     equals(QUnit.equiv(function () {}, re), false, "Same conversely, but ensures that function and regexp are distinct because their constructor are different");
 });
-
-module("testers");
-
-test("raises", function() {
-       function thrower1() {
-               throw 'Errored!';
-       }
-       function thrower2() {
-               throw new TypeError("Type!");
-       }
-       function thrower3() {
-               var e = {message:"Custom!"};
-               throw e;
-       }
-       raises(thrower1, 'Errored!', 'throwing string');
-       raises(thrower2, 'Type!', 'throwing TypeError instance');
-       raises(thrower3, 'Custom!', 'throwing custom object');
-});

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf