summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nth.ee>2024-11-11 02:15:09 +0200
committerAsko Nõmm <asko@nth.ee>2024-11-11 02:15:09 +0200
commit2400d0745dd902f838903d710d805b2a0b6fa132 (patch)
treea0aafe667d01a692509e544e016e6f259d0ebd9f /tests
parentb8dbf4abdc4f7e23e89f28dafa0ffd8f2bdcab70 (diff)
Improve testability of FileSystemDriver
Diffstat (limited to 'tests')
-rw-r--r--tests/FileSystemDriverTest.php2
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];