Commit 4d5596e3 authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Tests: Remove unused variables

parent 0837e415
define(function() { define(function() {
// Allow subprojects to test against their own fixtures // Store the old counts so that we only assert on tests that have actually leaked,
var qunitModule = QUnit.module, // instead of asserting every time a test has leaked sometime in the past
qunitTest = QUnit.test, var reset,
// 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
oldCacheLength = 0, oldCacheLength = 0,
oldActive = 0, oldActive = 0,
expectedDataKeys = {}, expectedDataKeys = {},
splice = [].splice, splice = [].splice,
reset,
ajaxSettings = jQuery.ajaxSettings; ajaxSettings = jQuery.ajaxSettings;
/** /**
......
...@@ -100,7 +100,7 @@ test( "selectors with comma", function() { ...@@ -100,7 +100,7 @@ test( "selectors with comma", function() {
equal( fixture.find( "h2 , div p" ).filter( "h2" ).length, 1, "has to find one <h2>" ); 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 ); expect( 27 );
var nothiddendiv; var nothiddendiv;
...@@ -144,7 +144,7 @@ test("child and adjacent", function() { ...@@ -144,7 +144,7 @@ test("child and adjacent", function() {
test("attributes", function() { test("attributes", function() {
expect( 54 ); 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"] ); t( "Find elements with a tabindex attribute", "[tabindex]", ["listWithTabIndex", "foodWithNegativeTabIndex", "linkWithTabIndex", "linkWithNegativeTabIndex", "linkWithNoHrefWithTabIndex", "linkWithNoHrefWithNegativeTabIndex"] );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment