mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-15 01:04:06 +07:00
Add blackfire to linux install
Add logging about install process Fix formating of semversion blackfire Only add version when needed Pass phpversion
This commit is contained in:
@ -161,4 +161,11 @@ describe('Utils tests', () => {
|
||||
'Platform fedora is not supported'
|
||||
);
|
||||
});
|
||||
|
||||
it('checking getMinorVersion', async () => {
|
||||
expect(await utils.getMinorVersion('7.14.0')).toEqual('7.14');
|
||||
expect(await utils.getMinorVersion('7.4')).toEqual('7.4');
|
||||
expect(await utils.getMinorVersion('7.4.1')).toEqual('7.4');
|
||||
expect(await utils.getMinorVersion('7.aa')).toEqual('7.aa');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user