Improve PHPUnit assertions

This commit is contained in:
peter279k 2020-08-27 13:54:34 +08:00
commit 14e0915e28
6 changed files with 36 additions and 36 deletions

View file

@ -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));
}
}