Skip to content

Commit d434fdb

Browse files
committed
Droppable Tests: fix whitespace in droppable_options
1 parent 454b58e commit d434fdb

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

tests/unit/droppable/droppable_options.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,46 @@
33
*/
44
(function($) {
55

6-
module("droppable: options");
6+
module( "droppable: options" );
77

88
/*
9-
test("{ accept '*' }, default ", function() {
9+
test( "{ accept '*' }, default ", function() {
1010
ok(false, 'missing test - untested code is broken code');
1111
});
1212
13-
test("{ accept: Selector }", function() {
13+
test( "{ accept: Selector }", function() {
1414
ok(false, 'missing test - untested code is broken code');
1515
});
1616
17-
test("{ accept: function(draggable) }", function() {
17+
test( "{ accept: function(draggable) }", function() {
1818
ok(false, 'missing test - untested code is broken code');
1919
});
2020
21-
test("activeClass", function() {
21+
test( "activeClass", function() {
2222
ok(false, 'missing test - untested code is broken code');
2323
});
2424
*/
25-
test("{ addClasses: true }, default", function() {
25+
test( "{ addClasses: true }, default", function() {
2626
expect( 1 );
27-
var el = $("<div></div>").droppable({ addClasses: true });
28-
ok(el.is(".ui-droppable"), "'ui-droppable' class added");
29-
el.droppable("destroy");
27+
var el = $( "<div />" ).droppable({ addClasses: true });
28+
ok( el.is( ".ui-droppable" ), "'ui-droppable' class added" );
29+
el.droppable( "destroy" );
3030
});
3131

32-
test("{ addClasses: false }", function() {
32+
test( "{ addClasses: false }", function() {
3333
expect( 1 );
34-
var el = $("<div></div>").droppable({ addClasses: false });
35-
ok(!el.is(".ui-droppable"), "'ui-droppable' class not added");
36-
el.droppable("destroy");
34+
var el = $( "<div />" ).droppable({ addClasses: false });
35+
ok( !el.is( ".ui-droppable" ), "'ui-droppable' class not added" );
36+
el.droppable( "destroy" );
3737
});
3838

3939
test( "scope", function() {
4040
expect( 4 );
4141
var droppableOffset, draggableOffset, oldDraggableOffset, dx, dy,
42-
draggable1 = $("<div></div>").appendTo( "#qunit-fixture" ).draggable({ revert: "invalid" }),
43-
draggable2 = $("<div></div>").appendTo( "#qunit-fixture" ).droppable(),
44-
droppable = $("<div></div>").appendTo( "#qunit-fixture" ).droppable(),
45-
newScope = "test";
42+
draggable1 = $( "<div />" ).appendTo( "#qunit-fixture" ).draggable({ revert: "invalid" }),
43+
draggable2 = $( "<div />" ).appendTo( "#qunit-fixture" ).droppable(),
44+
droppable = $( "<div />" ).appendTo( "#qunit-fixture" ).droppable(),
45+
newScope = "test";
4646

4747
draggable1.draggable( "option", "scope", newScope );
4848
droppable.droppable( "option", "scope", newScope );
@@ -78,19 +78,19 @@ test( "scope", function() {
7878
equal( draggableOffset.top, oldDraggableOffset.top );
7979
});
8080
/*
81-
test("greedy", function() {
81+
test( "greedy", function() {
8282
ok(false, 'missing test - untested code is broken code');
8383
});
8484
85-
test("hoverClass", function() {
85+
test( "hoverClass", function() {
8686
ok(false, 'missing test - untested code is broken code');
8787
});
8888
89-
test("tolerance, fit", function() {
89+
test( "tolerance, fit", function() {
9090
ok(false, 'missing test - untested code is broken code');
9191
});
9292
93-
test("tolerance, intersect", function() {
93+
test( "tolerance, intersect", function() {
9494
ok(false, 'missing test - untested code is broken code');
9595
});
9696
*/
@@ -135,7 +135,7 @@ test( "tolerance, pointer", function() {
135135
});
136136

137137
/*
138-
test("tolerance, touch", function() {
138+
test( "tolerance, touch", function() {
139139
ok(false, 'missing test - untested code is broken code');
140140
});
141141
*/

0 commit comments

Comments
 (0)