Skip to content

Commit 6cb66c1

Browse files
authored
Do not hard code common parameters in module help test any more (#1963)
1 parent f15cdbf commit 6cb66c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Engine/ModuleHelp.Tests.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Describe 'Cmdlet parameter help' {
175175
)
176176

177177
BEGIN {
178-
$Common = 'Debug', 'ErrorAction', 'ErrorVariable', 'InformationAction', 'InformationVariable', 'OutBuffer', 'OutVariable', 'PipelineVariable', 'ProgressAction', 'Verbose', 'WarningAction', 'WarningVariable'
178+
$Common = [System.Management.Automation.PSCmdlet]::CommonParameters
179179
$parameters = @()
180180
}
181181
PROCESS {

0 commit comments

Comments
 (0)