mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-13 16:24:06 +07:00
Add support to remove all shared extensions
This commit is contained in:
@ -127,8 +127,8 @@ describe('Utils tests', () => {
|
||||
|
||||
it('checking extensionArray', async () => {
|
||||
expect(
|
||||
await utils.extensionArray('a, :b, php_c, php-d, Zend e, :Zend f')
|
||||
).toEqual(['a', ':b', 'c', 'd', 'e', ':f']);
|
||||
await utils.extensionArray('a, :b, php_c, none, php-d, Zend e, :Zend f')
|
||||
).toEqual(['none', 'a', ':b', 'c', 'd', 'e', ':f']);
|
||||
|
||||
expect(await utils.extensionArray('')).toEqual([]);
|
||||
expect(await utils.extensionArray(' ')).toEqual([]);
|
||||
|
Reference in New Issue
Block a user