mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 16:44:07 +02:00
Improve PHPUnit assertions
This commit is contained in:
parent
77d750ccc6
commit
14e0915e28
6 changed files with 36 additions and 36 deletions
|
|
@ -46,7 +46,7 @@ class CountWrapperTest extends WrapperTest {
|
|||
|
||||
stream_get_contents($wrapped);
|
||||
fclose($wrapped);
|
||||
$this->assertEquals(6, $count);
|
||||
$this->assertSame(6, $count);
|
||||
}
|
||||
|
||||
public function testWriteCount() {
|
||||
|
|
@ -60,6 +60,6 @@ class CountWrapperTest extends WrapperTest {
|
|||
|
||||
fwrite($wrapped, 'foobar');
|
||||
fclose($wrapped);
|
||||
$this->assertEquals(6, $count);
|
||||
$this->assertSame(6, $count);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue