From 03b39400f476d2403d838db87feae68ac3405ae5 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Peters Date: Wed, 10 Jan 2024 11:57:20 +0100 Subject: [PATCH] Include new ProgressAction common parameter --- PSModuleDevelopment/tests/general/Help.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PSModuleDevelopment/tests/general/Help.Tests.ps1 b/PSModuleDevelopment/tests/general/Help.Tests.ps1 index 1369fe5..b254551 100644 --- a/PSModuleDevelopment/tests/general/Help.Tests.ps1 +++ b/PSModuleDevelopment/tests/general/Help.Tests.ps1 @@ -87,7 +87,7 @@ foreach ($command in $commands) { Context "Test parameter help for $commandName" { - $common = 'Debug', 'ErrorAction', 'ErrorVariable', 'InformationAction', 'InformationVariable', 'OutBuffer', 'OutVariable', 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable' + $common = 'Debug', 'ErrorAction', 'ErrorVariable', 'InformationAction', 'InformationVariable', 'OutBuffer', 'OutVariable', 'PipelineVariable', 'Verbose', 'WarningAction', 'WarningVariable', 'ProgressAction' $parameters = $command.ParameterSets.Parameters | Sort-Object -Property Name -Unique | Where-Object Name -notin $common $parameterNames = $parameters.Name