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
|
|
@ -19,6 +19,6 @@ class PathWrapper extends \PHPUnit_Framework_TestCase {
|
|||
$data = 'foobar';
|
||||
$stream = $this->getDataStream($data);
|
||||
$path = \Icewind\Streams\PathWrapper::getPath($stream);
|
||||
$this->assertEquals($data, file_get_contents($path));
|
||||
$this->assertSame($data, file_get_contents($path));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue