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