mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Widget tests: Fixed order of actual and expected.
This commit is contained in:
parent
1ed853f7bb
commit
7312933c88
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user