NormalizeBreaksTest: add additional test case
... to ensure text without line breaks is returned unchanged.
This commit is contained in:
parent
ade3b63428
commit
14d7458826
|
|
@ -48,6 +48,10 @@ final class NormalizeBreaksTest extends TestCase
|
|||
$baseExpected = 'hello' . PHPMailer::CRLF . 'World' . PHPMailer::CRLF . 'Again' . PHPMailer::CRLF;
|
||||
|
||||
return [
|
||||
'Text without line breaks' => [
|
||||
'input' => 'hello World!',
|
||||
'expected' => 'hello World!',
|
||||
],
|
||||
'Unix line breaks' => [
|
||||
'input' => "hello\nWorld\nAgain\n",
|
||||
'expected' => $baseExpected,
|
||||
|
|
|
|||
Loading…
Reference in New Issue