Rename skipTest to skipAssert.

This commit is contained in:
John-David Dalton
2016-02-13 08:32:47 -08:00
parent 5a336403f9
commit 13e4b959a4
2 changed files with 304 additions and 304 deletions

View File

@@ -79,7 +79,7 @@
* @param {Object} assert The QUnit assert object. * @param {Object} assert The QUnit assert object.
* @param {number} [count=1] The number of tests to skip. * @param {number} [count=1] The number of tests to skip.
*/ */
function skipTest(assert, count) { function skipAssert(assert, count) {
count || (count = 1); count || (count = 1);
while (count--) { while (count--) {
assert.ok(true, 'test skipped'); assert.ok(true, 'test skipped');
@@ -118,7 +118,7 @@
assert.deepEqual(actual, [1, 3]); assert.deepEqual(actual, [1, 3]);
} }
else { else {
skipTest(assert, 2); skipAssert(assert, 2);
} }
}); });
@@ -143,7 +143,7 @@
assert.notOk('placeholder' in lodash); assert.notOk('placeholder' in lodash);
} }
else { else {
skipTest(assert, 2); skipAssert(assert, 2);
} }
}); });
@@ -264,7 +264,7 @@
assert.deepEqual(lodash.remove(), []); assert.deepEqual(lodash.remove(), []);
} }
else { else {
skipTest(assert, 3); skipAssert(assert, 3);
} }
}); });
}()); }());
@@ -889,7 +889,7 @@
assert.strictEqual(mapCount, 5, 'mapCount'); assert.strictEqual(mapCount, 5, 'mapCount');
} }
else { else {
skipTest(assert, 3); skipAssert(assert, 3);
} }
}); });
}); });

File diff suppressed because it is too large Load Diff