From 7312933c888bce73460d88ec090d628b952a199e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 3 Dec 2012 13:57:28 -0500 Subject: [PATCH] Widget tests: Fixed order of actual and expected. --- tests/unit/widget/widget_core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,