Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Sep 14, 2024
1 parent c4df8ed commit e2f4584
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Unit/FileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public function testToFilePointer(): void

public function testSize(): void
{
$file = new File();
$this->assertEquals(0, $file->size());

$file = new File('foo');
$this->assertEquals(3, $file->size());
}
Expand Down

0 comments on commit e2f4584

Please sign in to comment.