Skip to content

Commit

Permalink
Merge pull request #42 from exussum12/addTestForInfection
Browse files Browse the repository at this point in the history
Add test for Infection
  • Loading branch information
exussum12 authored May 30, 2018
2 parents 542331b + d7697db commit 50e3d05
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/InfectionLoaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ public function testCanParseFile()
{

$infection = new InfectionLoader(__DIR__ . '/fixtures/infection-log.txt');
$infection->parseLines();
$files = $infection->parseLines();

$file = '/home/scott/code/coverageChecker/src/DiffFilter.php';

$this->assertFalse(
Expand All @@ -26,6 +27,11 @@ public function testCanParseFile()
21
)
);

$this->assertSame(
array_values($files),
$files
);
}

public function testFileNotFound()
Expand Down

0 comments on commit 50e3d05

Please sign in to comment.