Skip to content

Commit

Permalink
Fix ResourceOutputStreamTest on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Apr 13, 2024
1 parent a453d66 commit dc7d3d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ResourceOutputStreamTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public function testBrokenPipe(): ?\Generator
$this->expectException(StreamException::class);
$this->expectExceptionMessage(/* S|s */ "end of 6 bytes failed with errno=32 Broken pipe");

// The first write still succeeds somehow on Windows...
yield $stream->write("foobar");
yield $stream->write("foobar");
}

Expand Down

0 comments on commit dc7d3d5

Please sign in to comment.