Skip to content

Commit 2aabd42

Browse files
committed
Tests: Fix style issues with missing or multiple line breaks
As pointed out by jscs, after a esformatter run. The latter doesn't address these, so fixing them manually.
1 parent ac49929 commit 2aabd42

21 files changed

+5
-25
lines changed

tests/unit/autocomplete/autocomplete_core.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,6 @@ asyncTest( "ESCAPE in multiline autocomplete", function() {
216216
}, 50 );
217217
});
218218

219-
220-
221219
asyncTest( "handle race condition", function() {
222220
expect( 3 );
223221
var count = 0,

tests/unit/button/button_core.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* button_core.js
33
*/
44

5-
65
(function($) {
76

87
module("button: core");

tests/unit/button/button_methods.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
*/
44
(function($) {
55

6-
76
module("button: methods");
87

98
test("destroy", function() {

tests/unit/datepicker/datepicker_options.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,6 @@ var beforeShowThis = null,
767767
beforeShowDayThis = null,
768768
beforeShowDayOK = true;
769769

770-
771770
function beforeAll(input, inst) {
772771
beforeShowThis = this;
773772
beforeShowInput = input;

tests/unit/datepicker/datepicker_test_helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ TestHelpers.datepicker = {
2424
},
2525
onFocus: TestHelpers.onFocus,
2626
PROP_NAME: "datepicker"
27-
};
27+
};

tests/unit/dialog/dialog_events.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ test("open", function() {
3939
element.remove();
4040
});
4141

42-
4342
test( "focus", function() {
4443
expect( 5 );
4544
var element, other;

tests/unit/droppable/droppable_events.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ test( "droppable destruction/recreation on drop event", function() {
3535
ok( !droppable2.hasClass( "active" ), "subsequent droppable no longer active" );
3636
});
3737

38-
39-
4038
// todo: comment the following in when ready to actually test
4139
/*
4240
test("activate", function() {

tests/unit/droppable/droppable_test_helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ TestHelpers.droppable = {
77
// todo: actually implement this
88
ok(true, "missing test - untested code is broken code");
99
}
10-
};
10+
};

tests/unit/menu/menu_events.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ asyncTest( "handle submenu auto collapse: mouseleave", function() {
169169
setTimeout( menumouseleave1, 350 );
170170
});
171171

172-
173172
asyncTest( "handle keyboard navigation on menu without scroll and without submenus", function() {
174173
expect( 12 );
175174
var element = $( "#menu1" ).menu({

tests/unit/resizable/resizable_options.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ test( "alsoResize", function() {
2424
equal( other.width(), 130, "alsoResize width" );
2525
});
2626

27-
2827
test("aspectRatio: 'preserve' (e)", function() {
2928
expect(4);
3029

tests/unit/resizable/resizable_test_helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ TestHelpers.resizable = {
88
dy: dy
99
});
1010
}
11-
};
11+
};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/*
22
* selectable_core.js
3-
*/
3+
*/

tests/unit/selectable/selectable_options.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ test("filter", function() {
5151
sel = $("*", el),
5252
selected = function() { actual += 1; };
5353

54-
5554
el = $("#selectable1").selectable({ filter: ".special", selected: selected });
5655
el.simulate( "drag", {
5756
dx: 1000,

tests/unit/selectmenu/selectmenu_core.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ asyncTest( "accessibility", function() {
5252
});
5353
});
5454

55-
5655
test( "_renderButtonItem()", function() {
5756
expect( 2 );
5857

tests/unit/selectmenu/selectmenu_options.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ test( "appendTo: ui-front", function() {
6767
$( "#selectmenu-wrap2" )[ 0 ], "empty jQuery object, inside .ui-front" );
6868
});
6969

70-
7170
test( "CSS styles", function() {
7271
expect( 2 );
7372

@@ -85,7 +84,6 @@ test( "CSS styles", function() {
8584
"menu styles dropdown" );
8685
});
8786

88-
8987
test( "width", function() {
9088
expect( 5 );
9189

tests/unit/sortable/sortable_events.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ test("start", function() {
2626
// todo: see if these events should actually have sane values in them
2727
ok("position" in hash, "UI hash includes: position");
2828
ok("offset" in hash, "UI hash includes: offset");
29-
30-
3129
});
3230

3331
test("sort", function() {

tests/unit/sortable/sortable_test_helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ TestHelpers.sortable = {
66
});
77
equal( $( handle ).parent().children().index( handle ), index, msg );
88
}
9-
};
9+
};

tests/unit/spinner/spinner_test_helpers.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ TestHelpers.spinner = {
55
.simulate( "keyup", { keyCode: keyCode, shiftKey: shift || false } );
66
}
77
};
8-

tests/unit/tabs/tabs_options.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,5 +362,4 @@ asyncTest( "hide and show - animation", function() {
362362
element.tabs( "option", "active", 1 );
363363
});
364364

365-
366365
}( jQuery ) );

tests/unit/tabs/tabs_test_helpers.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,3 @@ TestHelpers.tabs = {
6464
deepEqual( actual, expected );
6565
}
6666
};
67-

tests/unit/testsuite.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ QUnit.reset = function() {
2727
reset.apply( this, arguments );
2828
};
2929

30-
3130
QUnit.config.requireExpects = true;
3231

3332
/*

0 commit comments

Comments
 (0)