Widget tests: Fixed order of actual and expected.

This commit is contained in:
Scott González 2012-12-03 13:57:28 -05:00
parent 1ed853f7bb
commit 7312933c88

View File

@ -20,7 +20,7 @@ test( "widget creation", function() {
$.widget( "ui.testWidget", myPrototype );
ok( $.isFunction( $.ui.testWidget ), "constructor was created" );
equal( "object", typeof $.ui.testWidget.prototype, "prototype was created" );
equal( typeof $.ui.testWidget.prototype, "object", "prototype was created" );
equal( $.ui.testWidget.prototype._create, myPrototype._create,
"create function is copied over" );
equal( $.ui.testWidget.prototype.creationTest, myPrototype.creationTest,