Skip to content

Commit 7312933

Browse files
committed
Widget tests: Fixed order of actual and expected.
1 parent 1ed853f commit 7312933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/widget/widget_core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test( "widget creation", function() {
2020

2121
$.widget( "ui.testWidget", myPrototype );
2222
ok( $.isFunction( $.ui.testWidget ), "constructor was created" );
23-
equal( "object", typeof $.ui.testWidget.prototype, "prototype was created" );
23+
equal( typeof $.ui.testWidget.prototype, "object", "prototype was created" );
2424
equal( $.ui.testWidget.prototype._create, myPrototype._create,
2525
"create function is copied over" );
2626
equal( $.ui.testWidget.prototype.creationTest, myPrototype.creationTest,

0 commit comments

Comments
 (0)