Permalink
Browse files
Widget tests: Fixed order of actual and expected.
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
tests/unit/widget/widget_core.js
|
@@ -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, |
|
|
0 comments on commit
7312933