Skip to content

Commit

Permalink
fix tests for 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Mar 2, 2021
1 parent 6479281 commit 0181f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/RetryWrapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ public function testFailedRead() {
public function testFailedWrite() {
$source = fopen('php://temp', 'w');
$wrapped = \Icewind\Streams\RetryWrapper::wrap(FailWrapper::wrap($source));
$this->assertFalse(fwrite($wrapped, 'foo'));
$this->assertFalse((bool)fwrite($wrapped, 'foo'));
}
}

0 comments on commit 0181f87

Please sign in to comment.