]> source.dussan.org Git - jquery.git/commitdiff
Tests: Remove unused variables
authorOleg Gaidarenko <markelog@gmail.com>
Wed, 26 Feb 2014 23:33:15 +0000 (03:33 +0400)
committerOleg Gaidarenko <markelog@gmail.com>
Tue, 15 Apr 2014 13:46:00 +0000 (17:46 +0400)
test/unit/selector.js

index 07850ca37974bb19b9c10b8d6d93a13c0ec37779..88d8a7ee28438c0b801980c0fa4814f71cfd1fc2 100644 (file)
@@ -100,7 +100,7 @@ test( "selectors with comma", function() {
        equal( fixture.find( "h2 , div p" ).filter( "h2" ).length, 1, "has to find one <h2>" );
 });
 
-test("child and adjacent", function() {
+test( "child and adjacent", function() {
        expect( 27 );
 
        var nothiddendiv;
@@ -144,7 +144,7 @@ test("child and adjacent", function() {
 test("attributes", function() {
        expect( 54 );
 
-       var opt, input, attrbad, div, withScript;
+       var attrbad, div, withScript;
 
        t( "Find elements with a tabindex attribute", "[tabindex]", ["listWithTabIndex", "foodWithNegativeTabIndex", "linkWithTabIndex", "linkWithNegativeTabIndex", "linkWithNoHrefWithTabIndex", "linkWithNoHrefWithNegativeTabIndex"] );