Skip to content

Commit

Permalink
Minor test fix (PowerShell#1885)
Browse files Browse the repository at this point in the history
This test seems to have been wrong, so have corrected it
  • Loading branch information
kilasuit committed Jan 27, 2023
1 parent 77f6500 commit f77acdf
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 -Be '"$(Get-ChildItem)"'
}

It "Corrects alias correctly" {
Expand Down

0 comments on commit f77acdf

Please sign in to comment.