Skip to content

Commit cdccaf4

Browse files
Update the constant WhatIf description (#780)
1 parent 8972a95 commit cdccaf4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Model/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ internal static partial class Constants
8686
internal const string LocaleEnUs = "en-US";
8787
internal const string skippingMessageFmt = "'{0}' exists, skipping. Use -Force to overwrite.";
8888
internal const string ConfirmParameterDescription = "Prompts you for confirmation before running the cmdlet.";
89-
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.";
89+
internal const string WhatIfParameterDescription = "Runs the command in a mode that only reports what would happen without performing the actions.";
9090

9191
// TODO: ProgressAction is not a common parameter for all versions of PowerShell.
9292
// This should not be added under all circumstances.

test/Pester/NewMarkdownHelp.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ Write-Host 'Hello World!'
654654

655655
It 'should have a description for Confirm and WhatIf parameters' {
656656
$file | Should -FileContentMatch 'Prompts you for confirmation before running the cmdlet.'
657-
$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.'
657+
$file | Should -FileContentMatch 'Runs the command in a mode that only reports what would happen without performing the actions.'
658658
}
659659
}
660660
}

0 commit comments

Comments
 (0)