Skip to content

Commit

Permalink
Remove dead code for Incomplete.
Browse files Browse the repository at this point in the history
The block here appears to be unreachable code.
  • Loading branch information
davidmatson committed Jan 22, 2025
1 parent 856f2be commit b2a8a2d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/functions/Output.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -712,16 +712,6 @@ function Get-WriteScreenPlugin ($Verbosity) {

break
}

default {
if ($PesterPreference.Output.Verbosity.Value -in 'Detailed', 'Diagnostic') {
# TODO: Add actual Incomplete status as default rather than checking for null time.
if ($null -eq $_test.Duration) {
Write-PesterHostMessage -ForegroundColor $ReportTheme.Incomplete "$margin[?] $out" -NoNewLine
Write-PesterHostMessage -ForegroundColor $ReportTheme.IncompleteTime " $humanTime"
}
}
}
}
}

Expand Down

0 comments on commit b2a8a2d

Please sign in to comment.