Skip to content

Commit

Permalink
Add test for GifDataStream::addComment()
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Feb 18, 2024
1 parent 62e31f6 commit c481309
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/GifDataStreamTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function testEncode()
$gif = new GifDataStream();
$gif->setLogicalScreenDescriptor($this->getTestLogicalScreenDescriptor());
$gif->addFrame($this->getTestFrame());
$gif->addComment($this->getTestCommentExtension());

$result = implode('', [
(string) $this->getTestHeader(),
Expand All @@ -42,6 +43,7 @@ public function testEncode()
(string) $this->getTestGraphicControlExtension(),
(string) $this->getTestImageDescriptor(),
(string) $this->getTestImageData(),
(string) $this->getTestCommentExtension(),
Trailer::MARKER,
]);

Expand Down

0 comments on commit c481309

Please sign in to comment.