From: wycats Date: Fri, 14 Jan 2011 16:17:32 +0000 (-0500) Subject: Fix a failing subclass test due to a change in master X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=fa45f25d1c554663f696c43bb1d08d24fec6abf5;hp=3716f2d0416895e1220269ea2e8bb23b8b843db0;p=jquery.git Fix a failing subclass test due to a change in master --- diff --git a/test/unit/core.js b/test/unit/core.js index d26e7c5..db160b2 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1081,7 +1081,7 @@ test("jQuery.subclass", function(){ 'body', 'html, body', '
' - ] + ]; methods = [ // all methods that return a new jQuery instance ['eq', 1], @@ -1090,16 +1090,16 @@ test("jQuery.subclass", function(){ ['has'], ['closest', 'div'], ['filter', document], - ['find'] - ] + ['find', 'div'] + ]; contexts = [undefined, document, jQueryDocument]; jQuery.each(selectors, function(i, selector){ jQuery.each(methods, function(){ - method = this[0] - arg = this[1] + method = this[0]; + arg = this[1]; jQuery.each(contexts, function(i, context){