Skip to content

Commit db42334

Browse files
committed
test: fix line endings on windows
1 parent 88ff336 commit db42334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/Mailer/AttachmentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function test_from_filesystem(): void
3636

3737
$this->assertSame('attachment.txt', $attachment->name);
3838
$this->assertSame('text/plain', $attachment->contentType);
39-
$this->assertSame("hello\n", ($attachment->resolve)());
39+
$this->assertStringContainsStringIgnoringLineEndings("hello\n", ($attachment->resolve)());
4040
}
4141

4242
public function test_from_path_throws_when_file_does_not_exist(): void

0 commit comments

Comments
 (0)