diff options
| author | Asko Nõmm <asko@nth.ee> | 2024-11-11 02:15:09 +0200 |
|---|---|---|
| committer | Asko Nõmm <asko@nth.ee> | 2024-11-11 02:15:09 +0200 |
| commit | 2400d0745dd902f838903d710d805b2a0b6fa132 (patch) | |
| tree | a0aafe667d01a692509e544e016e6f259d0ebd9f /tests/FileSystemDriverTest.php | |
| parent | b8dbf4abdc4f7e23e89f28dafa0ffd8f2bdcab70 (diff) | |
Improve testability of FileSystemDriver
Diffstat (limited to 'tests/FileSystemDriverTest.php')
| -rw-r--r-- | tests/FileSystemDriverTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FileSystemDriverTest.php b/tests/FileSystemDriverTest.php index eb9b873..0ca1241 100644 --- a/tests/FileSystemDriverTest.php +++ b/tests/FileSystemDriverTest.php @@ -122,7 +122,7 @@ class FileSystemDriverTest extends MockeryTestCase $loggr->info('test7'); $loggr->debug('test8'); - $lines = array_filter(explode("\r\n", $data), fn($line) => !empty($line)); + $lines = array_filter(explode("\n", $data), fn($line) => !empty($line)); $this->assertCount(8, $lines); $first_line = $lines[0]; |
