Skip to content

Commit c8522c8

Browse files
authored
Fix testSequenceBuilder() failing test on Windows (#32970)
The previous "cleanup" commit to instead use PHP_EOL was a breaking change. This test case reads tests/Http/Fixtures/test.txt which always has a "\n" line ending.
1 parent 6fa69bf commit c8522c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Http/HttpClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public function testSequenceBuilder()
250250
$this->assertSame(200, $response->status());
251251

252252
$response = $this->factory->get('https://example.com');
253-
$this->assertSame('This is a story about something that happened long ago when your grandfather was a child.'.PHP_EOL, $response->body());
253+
$this->assertSame("This is a story about something that happened long ago when your grandfather was a child.\n", $response->body());
254254
$this->assertSame(200, $response->status());
255255

256256
$response = $this->factory->get('https://example.com');

0 commit comments

Comments
 (0)