diff --git a/test/data/testinit.js b/test/data/testinit.js index d9cf8a2ebe..fb99badfc2 100644 --- a/test/data/testinit.js +++ b/test/data/testinit.js @@ -271,7 +271,7 @@ QUnit.config.autostart = false; this.loadTests = function() { var loadSwarm, url = window.location.search, - basicTests = url.substring( 1 ).split( "&" ).indexOf( "module=basic" ) > -1; + basicTests = jQuery.inArray( "module=basic", url.substring( 1 ).split( "&" ) ) > -1; url = decodeURIComponent( url.slice( url.indexOf( "swarmURL=" ) + "swarmURL=".length ) ); loadSwarm = url && url.indexOf( "http" ) === 0; diff --git a/test/unit/basic.js b/test/unit/basic.js index b1b9205ce0..25e86d1a35 100644 --- a/test/unit/basic.js +++ b/test/unit/basic.js @@ -200,7 +200,7 @@ QUnit.test( "manipulation", function( assert ) { // Support: IE 8 only // IE 8 prints tag names in upper case. - elem1.html(), + elem1.html().toLowerCase(), "
", ".after/.before" );