File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ public static ContainerInfo Create()
1111 return new ContainerInfo ( ) ;
1212 }
1313
14+ public string Name { get => ToStringConverter . ContainerItemToString ( Type , Item ) ; }
1415 private string _type = Constants . File ;
1516 public string Type
1617 {
Original file line number Diff line number Diff line change @@ -560,10 +560,8 @@ function Get-WriteScreenPlugin ($Verbosity) {
560560 $p.ContainerRunStart = {
561561 param ($Context )
562562
563- if (" file" -eq $Context.Block.BlockContainer.Type ) {
564- # write two spaces to separate each file
565- Write-PesterHostMessage - ForegroundColor $ReportTheme.Container " `n Running tests from '$ ( $Context.Block.BlockContainer.Item ) '"
566- }
563+ # write two spaces to separate each container
564+ Write-PesterHostMessage - ForegroundColor $ReportTheme.Container " `n Running tests from '$ ( $Context.Block.BlockContainer.Name ) '"
567565 }
568566 }
569567
You can’t perform that action at this time.
0 commit comments