Fixed a bug with the isXMLDoc test - also made sure that isXMLDoc was handling the...
[jquery.git] / test / unit / core.js
index 8decd49..46858ce 100644 (file)
@@ -281,7 +281,7 @@ test("isXMLDoc - HTML", function() {
 
        try {
                var body = jQuery(iframe).contents()[0];
-               ok( jQuery.isXMLDoc( body ), "Iframe body element" );
+               ok( !jQuery.isXMLDoc( body ), "Iframe body element" );
        } catch(e){
                ok( false, "Iframe body element exception" );
        }