Skip to content

Commit f411f24

Browse files
janbarasekdg
authored andcommitted
tests: Image::__toString(): Add more coverage decreased
1 parent a043123 commit f411f24

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/Utils/Image.alpha1.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ $image2->place(Image::fromBlank(50, 50, Image::rgb(80, 174, 0)), 75, 25);
2525

2626
Assert::same($image2->toString(Image::PNG, 0), $image->toString(Image::PNG, 0));
2727

28+
Assert::same($image->toString(), (string) $image);
29+
2830
$image = Image::fromBlank(200, 100, Image::rgb(255, 128, 0, 60));
2931
$image->crop(0, 0, '60%', '60%');
3032

0 commit comments

Comments
 (0)