diff options
author | wycats <wycats@gmail.com> | 2011-01-14 11:17:32 -0500 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2011-01-14 11:17:32 -0500 |
commit | fa45f25d1c554663f696c43bb1d08d24fec6abf5 (patch) | |
tree | b75dbf7522b306dd677bbda2e356df0f05c2bbe8 /test/unit | |
parent | 3716f2d0416895e1220269ea2e8bb23b8b843db0 (diff) | |
download | jquery-fa45f25d1c554663f696c43bb1d08d24fec6abf5.tar.gz jquery-fa45f25d1c554663f696c43bb1d08d24fec6abf5.zip |
Fix a failing subclass test due to a change in master
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/core.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/core.js b/test/unit/core.js index d26e7c56d..db160b2d6 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1081,7 +1081,7 @@ test("jQuery.subclass", function(){ 'body', 'html, body', '<div></div>' - ] + ]; 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){ |