Use $PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output (#14406)

This commit is contained in:
Steve Lee
2021-07-20 09:02:52 +05:00
committed by GitHub
parent 31a4528302
commit b5efe7bc39
15 changed files with 273 additions and 15 deletions
@@ -682,6 +682,19 @@ Describe 'ScriptScopeAccessFromClassMethod' -Tags "CI" {
}
Describe 'Hidden Members Test ' -Tags "CI" {
BeforeAll {
if ($null -ne $PSStyle) {
$outputRendering = $PSStyle.OutputRendering
$PSStyle.OutputRendering = 'plaintext'
}
}
AfterAll {
if ($null -ne $PSStyle) {
$PSStyle.OutputRendering = $outputRendering
}
}
class C1
{
[int]$visibleX