Skip to content

Commit

Permalink
Fix Invoke-Formatter correct case test (#1888)
Browse files Browse the repository at this point in the history
Follows #1885.
  • Loading branch information
alexandear authored Feb 10, 2023
1 parent f77acdf commit 8826d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Rules/UseCorrectCasing.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Describe "UseCorrectCasing" {
}

It "corrects case of of cmdlet inside interpolated string" {
Invoke-Formatter '"$(get-childitem)"' | Should -Be '"$(Get-ChildItem)"'
Invoke-Formatter '"$(get-childitem)"' | Should -BeExactly '"$(Get-ChildItem)"'
}

It "Corrects alias correctly" {
Expand Down

0 comments on commit 8826d1c

Please sign in to comment.