mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add types to Util
tests (#10228)
This commit is contained in:
parent
d51c7685da
commit
2992e8651a
21 changed files with 268 additions and 49 deletions
|
@ -69,6 +69,9 @@ class ProcessExecutorTest extends TestCase
|
|||
|
||||
/**
|
||||
* @dataProvider hidePasswordProvider
|
||||
*
|
||||
* @param string $command
|
||||
* @param string $expectedCommandOutput
|
||||
*/
|
||||
public function testHidePasswords($command, $expectedCommandOutput)
|
||||
{
|
||||
|
@ -133,6 +136,10 @@ class ProcessExecutorTest extends TestCase
|
|||
* Test various arguments are escaped as expected
|
||||
*
|
||||
* @dataProvider dataEscapeArguments
|
||||
*
|
||||
* @param string|false|null $argument
|
||||
* @param string $win
|
||||
* @param string $unix
|
||||
*/
|
||||
public function testEscapeArgument($argument, $win, $unix)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue