mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 00:36:38 +00:00
test: fix expected string: '\r' were 2 characters, not 0x0d
Solved with var_dump(bin2hex($expected));
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user