mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Enable case methods tests (#4436)
This commit is contained in:
committed by
John-David Dalton
parent
91c9cb1ea3
commit
ed4b3a2ddb
10
test/lowerCase.test.js
Normal file
10
test/lowerCase.test.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import assert from 'assert';
|
||||
import lowerCase from '../lowerCase.js';
|
||||
|
||||
describe('lowerCase', function() {
|
||||
it('should lowercase as space-separated words', function() {
|
||||
assert.strictEqual(lowerCase('--Foo-Bar--'), 'foo bar');
|
||||
assert.strictEqual(lowerCase('fooBar'), 'foo bar');
|
||||
assert.strictEqual(lowerCase('__FOO_BAR__'), 'foo bar');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user