diff --git a/src/pester-tests/Test-Get-Content.Tests.ps1 b/src/pester-tests/Test-Get-Content.Tests.ps1 index 2aaa5e75e3..bd555127a1 100644 --- a/src/pester-tests/Test-Get-Content.Tests.ps1 +++ b/src/pester-tests/Test-Get-Content.Tests.ps1 @@ -84,7 +84,7 @@ } It "Should return the last line of a file using the Tail switch" { - Get-Content -Path $testPath -Tail 1 | Should Be $fifthline + Get-Content -Path $testPath -Tail 1 | Should Be $testString } It "Should return the last lines of a file using the Last alias" {