Add chars test for pad methods.

This commit is contained in:
John-David Dalton
2014-03-11 01:04:42 -07:00
parent ef238de7a7
commit 2970f66218

View File

@@ -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');
});
});
/*--------------------------------------------------------------------------*/