mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Cleanup test titles.
This commit is contained in:
committed by
jdalton
parent
32b2e9f6cf
commit
5b81c4573c
@@ -6212,7 +6212,7 @@
|
|||||||
strictEqual(_.isEmpty(), true);
|
strictEqual(_.isEmpty(), true);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should return `false` for non-empty values', 3, function() {
|
test('should return `false` for non empty values', 3, function() {
|
||||||
strictEqual(_.isEmpty([0]), false);
|
strictEqual(_.isEmpty([0]), false);
|
||||||
strictEqual(_.isEmpty({ 'a': 0 }), false);
|
strictEqual(_.isEmpty({ 'a': 0 }), false);
|
||||||
strictEqual(_.isEmpty('a'), false);
|
strictEqual(_.isEmpty('a'), false);
|
||||||
@@ -6905,7 +6905,7 @@
|
|||||||
deepEqual(actual, expected);
|
deepEqual(actual, expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should return `false` for non-error objects', 12, function() {
|
test('should return `false` for non error objects', 12, function() {
|
||||||
var expected = _.map(falsey, _.constant(false));
|
var expected = _.map(falsey, _.constant(false));
|
||||||
|
|
||||||
var actual = _.map(falsey, function(value, index) {
|
var actual = _.map(falsey, function(value, index) {
|
||||||
@@ -6961,7 +6961,7 @@
|
|||||||
deepEqual(actual, expected);
|
deepEqual(actual, expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should return `false` for non-finite values', 9, function() {
|
test('should return `false` for non finite values', 9, function() {
|
||||||
var values = [NaN, Infinity, -Infinity, Object(1)],
|
var values = [NaN, Infinity, -Infinity, Object(1)],
|
||||||
expected = _.map(values, _.constant(false));
|
expected = _.map(values, _.constant(false));
|
||||||
|
|
||||||
@@ -6981,7 +6981,7 @@
|
|||||||
strictEqual(_.isFinite('a'), false);
|
strictEqual(_.isFinite('a'), false);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should return `false` for non-numeric values', 1, function() {
|
test('should return `false` for non numeric values', 1, function() {
|
||||||
var values = [undefined, [], true, new Date, new Error, '', ' ', '2px'],
|
var values = [undefined, [], true, new Date, new Error, '', ' ', '2px'],
|
||||||
expected = _.map(values, _.constant(false));
|
expected = _.map(values, _.constant(false));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user