mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-11 15:11:33 +08:00
merge: Add lower (#863)
This commit is contained in:
9
String/test/Lower.test.js
Normal file
9
String/test/Lower.test.js
Normal file
@ -0,0 +1,9 @@
|
||||
import { lower } from '../Lower'
|
||||
|
||||
describe('Lower', () => {
|
||||
it('return uppercase strings', () => {
|
||||
expect(lower('hello')).toBe('hello')
|
||||
expect(lower('WORLD')).toBe('world')
|
||||
expect(lower('hello_WORLD')).toBe('hello_world')
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user