Skip to content

Commit cfa5f09

Browse files
Fix method name
1 parent 48eb304 commit cfa5f09

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/tests/StaticAnalysis/ExecutableLinesFindingVisitorTest.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -24,42 +24,42 @@ final class ExecutableLinesFindingVisitorTest extends TestCase
2424
{
2525
public function testExecutableLinesAreGroupedByBranch(): void
2626
{
27-
$this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines.php');
27+
$this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines.php');
2828
}
2929

3030
/**
3131
* @requires PHP 7.4
3232
*/
3333
public function testExecutableLinesAreGroupedByBranchPhp74(): void
3434
{
35-
$this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines_php74.php');
35+
$this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines_php74.php');
3636
}
3737

3838
/**
3939
* @requires PHP 8
4040
*/
4141
public function testExecutableLinesAreGroupedByBranchPhp80(): void
4242
{
43-
$this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines_php80.php');
43+
$this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines_php80.php');
4444
}
4545

4646
/**
4747
* @requires PHP 8.1
4848
*/
4949
public function testExecutableLinesAreGroupedByBranchPhp81(): void
5050
{
51-
$this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines_php81.php');
51+
$this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines_php81.php');
5252
}
5353

5454
/**
5555
* @requires PHP 8.2
5656
*/
5757
public function testExecutableLinesAreGroupedByBranchPhp82(): void
5858
{
59-
$this->doTestSelfDescribingAsset(TEST_FILES_PATH . 'source_for_branched_exec_lines_php82.php');
59+
$this->doTestSelfDescribingAssert(TEST_FILES_PATH . 'source_for_branched_exec_lines_php82.php');
6060
}
6161

62-
private function doTestSelfDescribingAsset(string $filename): void
62+
private function doTestSelfDescribingAssert(string $filename): void
6363
{
6464
$source = file_get_contents($filename);
6565
$parser = (new ParserFactory)->createForHostVersion();

0 commit comments

Comments
 (0)