Tests: Remove unused variables

This commit is contained in:
Oleg Gaidarenko 2014-02-27 03:33:15 +04:00
parent 0837e41509
commit 4d5596e3e4
2 changed files with 5 additions and 9 deletions

View File

@ -1,17 +1,13 @@
define(function() {
// Allow subprojects to test against their own fixtures
var qunitModule = QUnit.module,
qunitTest = QUnit.test,
// Store the old counts so that we only assert on tests that have actually leaked,
// instead of asserting every time a test has leaked sometime in the past
// Store the old counts so that we only assert on tests that have actually leaked,
// instead of asserting every time a test has leaked sometime in the past
var reset,
oldCacheLength = 0,
oldActive = 0,
expectedDataKeys = {},
splice = [].splice,
reset,
ajaxSettings = jQuery.ajaxSettings;
/**

View 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"] );