From 2972f5944d310c76fef5354dffd1d2139cb543df Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Tue, 15 Sep 2009 08:39:11 +0000 Subject: [PATCH] selectable test cleanup: border and margin helpers were never used, missing semicolons caused a parser error --- tests/unit/selectable/selectable_core.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tests/unit/selectable/selectable_core.js b/tests/unit/selectable/selectable_core.js index d7f716e5d..18ea3a302 100644 --- a/tests/unit/selectable/selectable_core.js +++ b/tests/unit/selectable/selectable_core.js @@ -12,18 +12,5 @@ var drag = function(dx, dy) { pos.clientY += dy; $(document).simulate("mousemove", pos); $(document).simulate("mouseup", pos); -} +}; -var border = function(el, side) { return parseInt(el.css('border-' + side + '-width')); } - -var margin = function(el, side) { return parseInt(el.css('margin-' + side)); } - -(function($) { - -module("selectable: core"); - -test("testname", function() { - ok(false, "missing test - untested code is broken code."); -}); - -})(jQuery); -- 2.39.5