Tweaked manipulation test to ignore order of elements from selector (not important...
authorJohn Resig <jeresig@gmail.com>
Thu, 26 Aug 2010 18:37:58 +0000 (14:37 -0400)
committerJohn Resig <jeresig@gmail.com>
Thu, 26 Aug 2010 18:37:58 +0000 (14:37 -0400)
test/unit/manipulation.js

index 5efdca9..fdc391a 100644 (file)
@@ -221,7 +221,7 @@ var testAppend = function(valueObj) {
 
        QUnit.reset();
        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" );
 
        QUnit.reset();