diff --git a/__tests__/tools.test.ts b/__tests__/tools.test.ts index 954f760c..0e3762d6 100644 --- a/__tests__/tools.test.ts +++ b/__tests__/tools.test.ts @@ -496,7 +496,7 @@ describe('Tools tests', () => { }); it('checking addTools on windows', async () => { const script: string = await tools.addTools( - 'codeception, cs2pr, deployer, prestissimo, phpmd, phinx, phive:0.13.2, php-config, phpize, symfony, does_not_exit', + 'codeception, cs2pr, deployer, prestissimo, phpmd, phinx, phive:0.13.2, php-config, phpize, symfony, does_not_exist', '7.4', 'win32' ); @@ -522,8 +522,7 @@ describe('Tools tests', () => { ); expect(script).toContain('phpize is not a windows tool'); expect(script).toContain('php-config is not a windows tool'); - expect(script).toContain('Tool does_not_exit is not supported'); - expect(script).toContain('Tool does_not_exit is not supported'); + expect(script).toContain('Tool does_not_exist is not supported'); }); it('checking addTools with composer tool using user/tool as input', async () => { const script: string = await tools.addTools(