From: Scott González Date: Sat, 28 Mar 2009 00:37:16 +0000 (+0000) Subject: Fixed dialog tests to use same instead of equals for hashes. X-Git-Tag: 1.8a1~176 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2b8109e119975155c9965f84c543105530c0812c;p=jquery-ui.git Fixed dialog tests to use same instead of equals for hashes. --- diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js index 0c5c4e1f5..feb51fbb4 100644 --- a/tests/unit/dialog/dialog_options.js +++ b/tests/unit/dialog/dialog_options.js @@ -54,9 +54,9 @@ test("buttons", function() { } }; - equals(el.data("buttons.dialog"), buttons, '.data("buttons.dialog") getter'); + same(el.data("buttons.dialog"), buttons, '.data("buttons.dialog") getter'); el.data("buttons.dialog", newButtons); - equals(el.data("buttons.dialog"), newButtons, '.data("buttons.dialog", ...) setter'); + same(el.data("buttons.dialog"), newButtons, '.data("buttons.dialog", ...) setter'); btn = $("button", dlg()); equals(btn.length, 1, "number of buttons after setter");