From fa45f25d1c554663f696c43bb1d08d24fec6abf5 Mon Sep 17 00:00:00 2001 From: wycats Date: Fri, 14 Jan 2011 11:17:32 -0500 Subject: [PATCH] Fix a failing subclass test due to a change in master --- test/unit/core.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit/core.js b/test/unit/core.js index d26e7c56..db160b2d 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){