This commit is contained in:
Marcus Bointon 2020-07-14 19:48:27 +02:00
parent e12407cbe9
commit 5bb37af70d
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24
1 changed files with 5 additions and 1 deletions

View File

@ -1917,7 +1917,11 @@ EOT;
'Q Encoding (text) failed 2'
);
$this->assertEquals($this->Mail->encodeString('hello', 'binary'), 'hello', 'Binary encoding changed input');
$this->assertEquals(
'hello',
$this->Mail->encodeString('hello', 'binary'),
'Binary encoding changed input'
);
$this->Mail->ErrorInfo = '';
$this->Mail->encodeString('hello', 'asdfghjkl');
$this->assertNotEmpty($this->Mail->ErrorInfo, 'Invalid encoding not detected');