aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-12-03 13:57:28 -0500
committerScott González <scott.gonzalez@gmail.com>2012-12-03 13:57:28 -0500
commit7312933c888bce73460d88ec090d628b952a199e (patch)
treeaa4376d8cf93e65d44a5902f64da1ea68fd2efbe /tests
parent1ed853f7bb9f58af09e55e207534ecb10bcbe286 (diff)
downloadjquery-ui-7312933c888bce73460d88ec090d628b952a199e.tar.gz
jquery-ui-7312933c888bce73460d88ec090d628b952a199e.zip
Widget tests: Fixed order of actual and expected.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/widget/widget_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js
index 18b93d92e..961e2ff62 100644
--- a/tests/unit/widget/widget_core.js
+++ b/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,