Skip to content

Commit 2bbe89f

Browse files
Merge pull request #58 from Splaxi/Fix_German_Spelling
Minor spelling error in the Command Test pester template file
2 parents 373aa0a + d79d2a2 commit 2bbe89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/CommandTest/þnameþ.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
$commonParameters = 'Verbose', 'Debug', 'ErrorAction', 'WarningAction', 'InformationAction', 'ErrorVariable', 'WarningVariable', 'InformationVariable', 'OutVariable', 'OutBuffer', 'PipelineVariable', 'Confirm', 'WhatIf'
1717
foreach ($parameter in ((Get-Command $Parameters.Name).Parameters.Values | Where-Object Name -NotIn $commonParameters))
1818
{
19-
$lines += " It 'Should habe the expected parameter $($parameter.Name)' {"
19+
$lines += " It 'Should have the expected parameter $($parameter.Name)' {"
2020
$lines += " `$parameter = (Get-Command $($Parameters.Name)).Parameters['$($parameter.Name)']"
2121
$lines += " `$parameter.Name | Should -Be '$($parameter.Name)'"
2222
$lines += " `$parameter.ParameterType.ToString() | Should -Be $($parameter.ParameterType.ToString())"

0 commit comments

Comments
 (0)