mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Fixed dialog tests to use same instead of equals for hashes.
This commit is contained in:
parent
4e64af70b6
commit
2b8109e119
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user