mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-03-30 01:51:06 +07:00
Strip backslash line continuation from extension inputs
This commit is contained in:
@@ -85,6 +85,10 @@ describe('Utils tests', () => {
|
||||
|
||||
expect(await utils.extensionArray('')).toEqual([]);
|
||||
expect(await utils.extensionArray(' ')).toEqual([]);
|
||||
|
||||
expect(
|
||||
await utils.extensionArray('apcu, mbstring, \\ pdo_pgsql, posix, session')
|
||||
).toEqual(['apcu', 'mbstring', 'pdo_pgsql', 'posix', 'session']);
|
||||
});
|
||||
|
||||
it('checking INIArray', async () => {
|
||||
|
||||
Reference in New Issue
Block a user