Skip to content

Commit

Permalink
Fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
gchtr committed Sep 12, 2023
1 parent 2c4f4e1 commit 43647a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-webp.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function test_timmy_ignores_gif_when_using_webp() {

$result = $image->picture_responsive();
$expected = sprintf(
'<source srcset="%1$s/logo-small.gif">%2$s<img src="http://example.org/wp-content/uploads/2023/04/logo-small.gif" width="100" height="50" alt="" loading="lazy">',
'<source srcset="%1$s/logo-small.gif">%2$s<img src="%1$s/logo-small.gif" width="100" height="50" alt="" loading="lazy">',
$this->get_upload_url(),
PHP_EOL
);
Expand Down

0 comments on commit 43647a8

Please sign in to comment.