mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Carriage returns are ignored by cmd
This commit is contained in:
parent
0783b043d2
commit
906442117c
2 changed files with 4 additions and 5 deletions
|
@ -144,8 +144,8 @@ class ProcessExecutorTest extends TestCase
|
|||
// unix single-quote must be escaped
|
||||
'unix-sq' => array("a'bc", "a'bc", "'a'\\''bc'"),
|
||||
|
||||
// CR LF must be replaced
|
||||
'crlf' => array("a\r\nb\nc\rd", '"a b c d"', "'a\r\nb\nc\rd'"),
|
||||
// new lines must be replaced
|
||||
'new lines' => array("a\nb\nc", '"a b c"', "'a\nb\nc'"),
|
||||
|
||||
// whitespace <space> must be quoted
|
||||
'ws space' => array('a b c', '"a b c"', "'a b c'"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue