Skip to content

Commit d5acc69

Browse files
committed
Update StdioClientTransportTest.php
1 parent c8f4c9f commit d5acc69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Unit/Client/Transport/StdioClientTransportTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
});
3535

3636
it('can connect to a simple process and communicate', function (): void {
37-
$transport = new StdioClientTransport('php', ['-r', 'while ($line = fgets(STDIN)) { echo trim($line) . "\n"; }']);
37+
$transport = new StdioClientTransport('php', ['-r', 'while ($line = fgets(STDIN)) { echo trim($line) . PHP_EOL; }']);
3838

3939
$transport->connect();
4040

@@ -48,7 +48,7 @@
4848
});
4949

5050
it('can send notifications without reading response', function (): void {
51-
$transport = new StdioClientTransport('php', ['-r', 'while ($line = fgets(STDIN)) { echo trim($line) . "\n"; }']);
51+
$transport = new StdioClientTransport('php', ['-r', 'while ($line = fgets(STDIN)) { echo trim($line) . PHP_EOL; }']);
5252

5353
$transport->connect();
5454

0 commit comments

Comments
 (0)