We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04a046 commit 02d906bCopy full SHA for 02d906b
Tests/Engine/ModuleHelp.Tests.ps1
@@ -270,7 +270,9 @@ foreach ($command in $commands) {
270
271
# Should be a description for every parameter
272
It "gets help for parameter: $parameterName : in $commandName" {
273
- $parameterHelp.Description.Text | Should Not BeNullOrEmpty
+ # `$parameterHelp.Description.Text | Should Not BeNullOrEmpty` fails for -Settings paramter
274
+ # without explicit [string] casting on the Text property
275
+ [string]::IsNullOrEmpty($parameterHelp.Description.Text) | Should Be $false
276
}
277
278
# Required value in Help should match IsMandatory property of parameter
0 commit comments