diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-27 11:06:31 +0100 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-27 11:06:31 +0100 |
commit | a009595bd3d7c6992d438900672fdf98f5e728c3 (patch) | |
tree | 6e9a6f074b639db9a92cd08f0be5f971356be453 /tests/unit/autocomplete/autocomplete_methods.js | |
parent | f1933142e485ceaaef9ef52e56abb9f43eaaad2d (diff) | |
parent | c49be0be1a57cac325f021ffddc2f0fbccde1553 (diff) | |
download | jquery-ui-a009595bd3d7c6992d438900672fdf98f5e728c3.tar.gz jquery-ui-a009595bd3d7c6992d438900672fdf98f5e728c3.zip |
Merge branch 'master' into tooltip
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_methods.js')
-rw-r--r-- | tests/unit/autocomplete/autocomplete_methods.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/autocomplete/autocomplete_methods.js b/tests/unit/autocomplete/autocomplete_methods.js index 5c20a6c95..76a600fe6 100644 --- a/tests/unit/autocomplete/autocomplete_methods.js +++ b/tests/unit/autocomplete/autocomplete_methods.js @@ -13,8 +13,7 @@ module("autocomplete: methods", { test("destroy", function() { var beforeHtml = $("#autocomplete").parent().html(); var afterHtml = $("#autocomplete").autocomplete().autocomplete("destroy").parent().html(); - // TODO can't use same, as that would insert the markup unescaped into the test results, screwing up other tests - ok( beforeHtml == afterHtml ); + equal( afterHtml, beforeHtml, "before/after html should be the same" ); }) var data = ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl"]; |