From eb2a50a3b7d9ca14ed93ff7c5809d0af8be9e44a Mon Sep 17 00:00:00 2001 From: Ryan Yates Date: Thu, 26 Jan 2023 23:09:45 +0000 Subject: [PATCH] Minor test fix This test seems to have been wrong, so have corrected it --- Tests/Rules/UseCorrectCasing.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Rules/UseCorrectCasing.tests.ps1 b/Tests/Rules/UseCorrectCasing.tests.ps1 index a5280a6e3..50ce289c3 100644 --- a/Tests/Rules/UseCorrectCasing.tests.ps1 +++ b/Tests/Rules/UseCorrectCasing.tests.ps1 @@ -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" {