aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authortimmywil <timmywillisn@gmail.com>2012-06-20 16:22:36 -0400
committertimmywil <timmywillisn@gmail.com>2012-06-21 11:38:31 -0400
commit6cdca88eee674e48f9bf0e41fca18f75f32426b7 (patch)
tree9cc9b13a4cb04f587882a13ad67bc75ecfa72edf /test
parentc20e031058c6210a1ed753f75af80588f076d60d (diff)
downloadjquery-6cdca88eee674e48f9bf0e41fca18f75f32426b7.tar.gz
jquery-6cdca88eee674e48f9bf0e41fca18f75f32426b7.zip
Restore rhtmlString to its original form. 1.9 will come with starts-with html matching. For now, we are warning against broad use of jQuery() to parse html.
Diffstat (limited to 'test')
-rw-r--r--test/unit/core.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/core.js b/test/unit/core.js
index 0b392adf1..95f26fcbd 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -605,7 +605,7 @@ test("isWindow", function() {
});
test("jQuery('html')", function() {
- expect( 22 );
+ expect( 18 );
QUnit.reset();
jQuery.foo = false;
@@ -638,10 +638,10 @@ test("jQuery('html')", function() {
ok( jQuery("<div></div>")[0], "Create a div with closing tag." );
ok( jQuery("<table></table>")[0], "Create a table with closing tag." );
- equal( jQuery("element[attribute='<div></div>']").length, 0, "When html is within brackets, do not recognize as html." );
- equal( jQuery("element[attribute=<div></div>]").length, 0, "When html is within brackets, do not recognize as html." );
- equal( jQuery("element:not(<div></div>)").length, 0, "When html is within parens, do not recognize as html." );
- equal( jQuery("\\<div\\>").length, 0, "Ignore escaped html characters" );
+ // equal( jQuery("element[attribute='<div></div>']").length, 0, "When html is within brackets, do not recognize as html." );
+ // equal( jQuery("element[attribute=<div></div>]").length, 0, "When html is within brackets, do not recognize as html." );
+ // equal( jQuery("element:not(<div></div>)").length, 0, "When html is within parens, do not recognize as html." );
+ // equal( jQuery("\\<div\\>").length, 0, "Ignore escaped html characters" );
// Test very large html string #7990
var i;