]> source.dussan.org Git - jquery.git/commitdiff
Fix a failing subclass test due to a change in master
authorwycats <wycats@gmail.com>
Fri, 14 Jan 2011 16:17:32 +0000 (11:17 -0500)
committerwycats <wycats@gmail.com>
Fri, 14 Jan 2011 16:17:32 +0000 (11:17 -0500)
test/unit/core.js

index d26e7c56d32b73e8bc670652529e40ec7c258ad3..db160b2d63ab1e5a490646e868512ae493254a6b 100644 (file)
@@ -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){