File tree 1 file changed +6
-6
lines changed
tests/tests/StaticAnalysis
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,42 +24,42 @@ final class ExecutableLinesFindingVisitorTest extends TestCase
24
24
{
25
25
public function testExecutableLinesAreGroupedByBranch (): void
26
26
{
27
- $ this ->doTestSelfDescribingAsset (TEST_FILES_PATH . 'source_for_branched_exec_lines.php ' );
27
+ $ this ->doTestSelfDescribingAssert (TEST_FILES_PATH . 'source_for_branched_exec_lines.php ' );
28
28
}
29
29
30
30
/**
31
31
* @requires PHP 7.4
32
32
*/
33
33
public function testExecutableLinesAreGroupedByBranchPhp74 (): void
34
34
{
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 ' );
36
36
}
37
37
38
38
/**
39
39
* @requires PHP 8
40
40
*/
41
41
public function testExecutableLinesAreGroupedByBranchPhp80 (): void
42
42
{
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 ' );
44
44
}
45
45
46
46
/**
47
47
* @requires PHP 8.1
48
48
*/
49
49
public function testExecutableLinesAreGroupedByBranchPhp81 (): void
50
50
{
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 ' );
52
52
}
53
53
54
54
/**
55
55
* @requires PHP 8.2
56
56
*/
57
57
public function testExecutableLinesAreGroupedByBranchPhp82 (): void
58
58
{
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 ' );
60
60
}
61
61
62
- private function doTestSelfDescribingAsset (string $ filename ): void
62
+ private function doTestSelfDescribingAssert (string $ filename ): void
63
63
{
64
64
$ source = file_get_contents ($ filename );
65
65
$ parser = (new ParserFactory )->createForHostVersion ();
You can’t perform that action at this time.
0 commit comments