test: fix expected string: '\r' were 2 characters, not 0x0d

Solved with var_dump(bin2hex($expected));
This commit is contained in:
Fonata
2022-12-26 20:25:13 +01:00
committed by Fonata
parent c4a90941e2
commit 919528bb2f

View File

@@ -93,7 +93,7 @@ class SaveTest extends TestCase {
public function testEncloseAllWithQuotes() {
$this->csv->enclose_all = true;
$expected = '"SMS"\r"0444"\r"5555"\r';
$expected = '"SMS"'."\r".'"0444"'."\r".'"5555"'."\r";
$this->saveAndCompare($expected);
}