diff --git a/test/unit/core.js b/test/unit/core.js index d00f0fd76..dd7ed1891 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -585,7 +585,7 @@ test("isWindow", function() { }); test("jQuery('html')", function() { - expect( 15 ); + expect( 18 ); var s, div, j; @@ -620,10 +620,13 @@ test("jQuery('html')", function() { ok( jQuery("
")[0], "Create a div with closing tag." ); ok( jQuery("
")[0], "Create a table with closing tag." ); - // equal( jQuery("element[attribute='
']").length, 0, "When html is within brackets, do not recognize as html." ); - // equal( jQuery("element[attribute=
]").length, 0, "When html is within brackets, do not recognize as html." ); - // equal( jQuery("element:not(
)").length, 0, "When html is within parens, do not recognize as html." ); - // equal( jQuery("\\").length, 0, "Ignore escaped html characters" ); + equal( jQuery( "element[attribute='
']" ).length, 0, + "When html is within brackets, do not recognize as html." ); + //equal( jQuery( "element[attribute=
]" ).length, 0, + // "When html is within brackets, do not recognize as html." ); + equal( jQuery( "element:not(
)" ).length, 0, + "When html is within parens, do not recognize as html." ); + equal( jQuery( "\\" ).length, 0, "Ignore escaped html characters" ); }); test("jQuery('massive html #7990')", function() {