Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bepsvpt committed Feb 9, 2024
1 parent 668743b commit df7d03c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/BlurHashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,13 @@ public function testDifferentFormatsEncode(): void
(new BlurHash('imagick'))->encode($this->file('06.png'))
);

$hash = match (PHP_OS_FAMILY) {
'Darwin' => 'LeTRKIsAe9sT-;i_enkChee9ene.',
default => 'LdTRKIs9e9sA-;i_enkChee9ene.',
};

$this->assertSame(
'LeTRKIsAe9sT-;i_enkChee9ene.',
$hash,
(new BlurHash('php-vips'))->encode($this->file('06.png'))
);
}
Expand Down

0 comments on commit df7d03c

Please sign in to comment.