Skip to content

Commit

Permalink
Assert that the fixture CSS file is readable
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Dec 21, 2024
1 parent 0b47df1 commit 777f8df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Css/ProcessorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ public function testCssWithMediaQueries(): void

public function testCssWithBigMediaQueries(): void
{
$rules = $this->processor->getRules(file_get_contents(__DIR__.'/test.css'));
$css = file_get_contents(__DIR__.'/test.css');
$this->assertIsString($css, 'The fixture CSS file should be readable.');
$rules = $this->processor->getRules($css);

$this->assertCount(414, $rules);
}
Expand Down

0 comments on commit 777f8df

Please sign in to comment.