mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Add chars test for pad methods.
This commit is contained in:
@@ -6060,6 +6060,10 @@
|
||||
strictEqual(func(undefined, 3), ' ');
|
||||
strictEqual(func('', 1), ' ');
|
||||
});
|
||||
|
||||
test('`_.' + methodName + '` should work with an empty string for `chars`', 1, function() {
|
||||
equal(func('abc', 6, ''), 'abc');
|
||||
});
|
||||
});
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user