mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Test label nits.
This commit is contained in:
@@ -15708,7 +15708,7 @@
|
|||||||
strictEqual(func(string, object), expected);
|
strictEqual(func(string, object), expected);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('`_.' + methodName + '` should return an empty string when provided nullish or empty string values and `chars`', 6, function() {
|
test('`_.' + methodName + '` should return an empty string for empty values and `chars`', 6, function() {
|
||||||
_.each([null, '_-'], function(chars) {
|
_.each([null, '_-'], function(chars) {
|
||||||
strictEqual(func(null, chars), '');
|
strictEqual(func(null, chars), '');
|
||||||
strictEqual(func(undefined, chars), '');
|
strictEqual(func(undefined, chars), '');
|
||||||
@@ -17163,7 +17163,7 @@
|
|||||||
_.each(stringMethods, function(methodName) {
|
_.each(stringMethods, function(methodName) {
|
||||||
var func = _[methodName];
|
var func = _[methodName];
|
||||||
|
|
||||||
test('`_.' + methodName + '` should return an empty string when provided nullish or empty string values', 3, function() {
|
test('`_.' + methodName + '` should return an empty string for empty values', 3, function() {
|
||||||
strictEqual(func(null), '');
|
strictEqual(func(null), '');
|
||||||
strictEqual(func(undefined), '');
|
strictEqual(func(undefined), '');
|
||||||
strictEqual(func(''), '');
|
strictEqual(func(''), '');
|
||||||
|
|||||||
Reference in New Issue
Block a user