Skip to content

Commit 4a384c6

Browse files
committed
Widget tests: Remove workaround for old QUnit bug.
1 parent 8034cc3 commit 4a384c6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/unit/widget/widget_core.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ test( "error handling", function() {
183183
$.error = error;
184184
});
185185

186-
test("merge multiple option arguments", function() {
186+
test( "merge multiple option arguments", function() {
187187
expect( 1 );
188188
$.widget( "ui.testWidget", {
189189
_create: function() {
@@ -630,8 +630,6 @@ test( "auto-destroy - .remove() on child", function() {
630630
}
631631
});
632632
$( "#widget" ).testWidget().children().remove();
633-
// http://github.com/jquery/qunit/pull/34
634-
$.ui.testWidget.prototype.destroy = $.noop;
635633
});
636634

637635
test( "auto-destroy - .empty()", function() {
@@ -642,8 +640,6 @@ test( "auto-destroy - .empty()", function() {
642640
}
643641
});
644642
$( "#widget" ).testWidget().empty();
645-
// http://github.com/jquery/qunit/pull/34
646-
$.ui.testWidget.prototype.destroy = $.noop;
647643
});
648644

649645
test( "auto-destroy - .empty() on parent", function() {

0 commit comments

Comments
 (0)