Skip to content
Permalink
Browse files

selectable test cleanup: border and margin helpers were never used, m…

…issing semicolons caused a parser error
  • Loading branch information
jzaefferer committed Sep 15, 2009
1 parent 5a51c29 commit 2972f5944d310c76fef5354dffd1d2139cb543df
Showing with 1 addition and 14 deletions.
  1. +1 −14 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);

0 comments on commit 2972f59

Please sign in to comment.
You can’t perform that action at this time.