Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkSide666 committed Apr 22, 2024
1 parent ba7d581 commit 7451b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ private function trigger(TestMethod $test, bool $filterTrigger): IssueTrigger
$triggeredInFirstPartyCode = true;
}

if (isset($trace[0]['file']) && (
if (isset($trace[1]['file']) && (
$trace[1]['file'] === $test->file() ||
$this->sourceFilter->includes($this->source, $trace[1]['file']))) {
$triggerCalledFromFirstPartyCode = true;
Expand Down

0 comments on commit 7451b46

Please sign in to comment.