aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 08:39:11 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 08:39:11 +0000
commit2972f5944d310c76fef5354dffd1d2139cb543df (patch)
treec7a60eeda61536d940515f63008ae2b7bd56d6b0 /tests
parent5a51c29a0e4634bf115ce65802957e4c67afa45a (diff)
downloadjquery-ui-2972f5944d310c76fef5354dffd1d2139cb543df.tar.gz
jquery-ui-2972f5944d310c76fef5354dffd1d2139cb543df.zip
selectable test cleanup: border and margin helpers were never used, missing semicolons caused a parser error
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/selectable/selectable_core.js15
1 files changed, 1 insertions, 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);