mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use $PSStyle.Formatting.FormatAccent for Format-List and $PSStyle.Formatting.TableHeader for Format-Table output (#14406)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user