diff --git a/src/Model/Constants.cs b/src/Model/Constants.cs index 43f19fd7..e704843c 100644 --- a/src/Model/Constants.cs +++ b/src/Model/Constants.cs @@ -86,7 +86,7 @@ internal static partial class Constants internal const string LocaleEnUs = "en-US"; internal const string skippingMessageFmt = "'{0}' exists, skipping. Use -Force to overwrite."; internal const string ConfirmParameterDescription = "Prompts you for confirmation before running the cmdlet."; - internal const string WhatIfParameterDescription = "Tells PowerShell to run the command in a mode that only reports what would happen, but not actually let the command run or make changes."; + internal const string WhatIfParameterDescription = "Runs the command in a mode that only reports what would happen without performing the actions."; // TODO: ProgressAction is not a common parameter for all versions of PowerShell. // This should not be added under all circumstances. diff --git a/test/Pester/NewMarkdownHelp.Tests.ps1 b/test/Pester/NewMarkdownHelp.Tests.ps1 index 85815b77..d22a3e98 100644 --- a/test/Pester/NewMarkdownHelp.Tests.ps1 +++ b/test/Pester/NewMarkdownHelp.Tests.ps1 @@ -654,7 +654,7 @@ Write-Host 'Hello World!' It 'should have a description for Confirm and WhatIf parameters' { $file | Should -FileContentMatch 'Prompts you for confirmation before running the cmdlet.' - $file | Should -FileContentMatch 'Tells PowerShell to run the command in a mode that only reports what would happen, but not actually let the command run or make changes.' + $file | Should -FileContentMatch 'Runs the command in a mode that only reports what would happen without performing the actions.' } } }