Tweaked manipulation test to ignore order of elements from selector (not important to the test).

This commit is contained in:
John Resig 2010-08-26 14:37:58 -04:00
parent 5673e4bc3a
commit 3b76b58815

View file

@ -221,7 +221,7 @@ var testAppend = function(valueObj) {
QUnit.reset(); QUnit.reset();
expected = "This link has class=\"blog\": Simon Willison's WeblogYahooTry them out:"; expected = "This link has class=\"blog\": Simon Willison's WeblogYahooTry them out:";
jQuery('#sap').append(valueObj(jQuery("#first, #yahoo"))); jQuery('#sap').append(valueObj(jQuery("#yahoo, #first")));
equals( expected, jQuery('#sap').text(), "Check for appending of jQuery object" ); equals( expected, jQuery('#sap').text(), "Check for appending of jQuery object" );
QUnit.reset(); QUnit.reset();