Skip to content

Commit 324cfcf

Browse files
committed
🔧
1 parent 6c05a3f commit 324cfcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/StreamUtilTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function testTryGetContentsThrowsExceptionOnUnreadableResource():void{
169169

170170
public function testTryGetContentsThrowsExceptionOnInvalidResource():void{
171171
$this->expectException(RuntimeException::class);
172-
$this->expectExceptionMessage('Unable to read stream contents: stream_get_contents(): Argument #1 ($stream) must be an open stream resource'); // phpcs:ignore
172+
$this->expectExceptionMessage('Unable to read stream contents: stream_get_contents():');
173173

174174
$resource = StreamUtil::tryFopen(__DIR__.'/fopen-test.txt', 'r');
175175
fclose($resource);

0 commit comments

Comments
 (0)