fix tests for 7.3

This commit is contained in:
Robin Appelman 2021-03-02 20:16:47 +01:00
commit 0181f87246

View file

@ -34,6 +34,6 @@ class RetryWrapperTest extends WrapperTest {
public function testFailedWrite() { public function testFailedWrite() {
$source = fopen('php://temp', 'w'); $source = fopen('php://temp', 'w');
$wrapped = \Icewind\Streams\RetryWrapper::wrap(FailWrapper::wrap($source)); $wrapped = \Icewind\Streams\RetryWrapper::wrap(FailWrapper::wrap($source));
$this->assertFalse(fwrite($wrapped, 'foo')); $this->assertFalse((bool)fwrite($wrapped, 'foo'));
} }
} }