mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 14:37:49 +00:00
11 lines
357 B
JavaScript
11 lines
357 B
JavaScript
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');
|
|
});
|
|
});
|