Skip to content

Commit c8248e5

Browse files
Fix typo in compatibility reason for ternary operation check
1 parent 29bd23a commit c8248e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/SourceCode/PSModule/PSModule.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Describe 'PSModule - SourceCode tests' {
163163
$issues -join [Environment]::NewLine |
164164
Should -BeNullOrEmpty -Because "the script should use '`$null = ...' instead of '... | Out-Null'"
165165
}
166-
It 'Should not use ternary operations for compatability reasons (ID: NoTernary)' -Skip {
166+
It 'Should not use ternary operations for compatibility reasons (ID: NoTernary)' -Skip {
167167
$issues = @('')
168168
$scriptFiles | ForEach-Object {
169169
$filePath = $_.FullName
@@ -179,7 +179,7 @@ Describe 'PSModule - SourceCode tests' {
179179
}
180180
}
181181
$issues -join [Environment]::NewLine |
182-
Should -BeNullOrEmpty -Because 'the script should not use ternary operations for compatability with PS 5.1 and below'
182+
Should -BeNullOrEmpty -Because 'the script should not use ternary operations for compatibility with PS 5.1 and below'
183183
}
184184
It 'all powershell keywords are lowercase (ID: LowercaseKeywords)' {
185185
$issues = @('')

0 commit comments

Comments
 (0)