Skip to content

Commit

Permalink
improve assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelecarelle committed Sep 24, 2024
1 parent caba345 commit bd0f957
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/Functional/Filter/ExcludeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ public function testExcludeTestSuites(): void
/** @var Filter $filter */
$filter = $this->getService(Filter::class);

$this->assertCount(1, $filter->filterTestFiles());
$files = $filter->filterTestFiles();

$this->assertCount(1, $files);

$fileExploded = explode('/', $files[0]);

$this->assertSame('ThreeGreenTestStub.php', end($fileExploded));
}
}

0 comments on commit bd0f957

Please sign in to comment.