We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 838afb9 commit 212c19dCopy full SHA for 212c19d
1 file changed
test/powershell/Modules/Microsoft.PowerShell.Utility/Get-FileHash.Tests.ps1
@@ -87,7 +87,7 @@ Describe "Get-FileHash" -Tags "CI" {
87
Copy-Item -Path $testdocument -Destination $testDocumentCopy
88
89
$newPath = Get-FileHash -Path $testDocumentCopy | Rename-Item -NewName {$_.Hash} -PassThru
90
- Test-Path -Path $newPath.FullName | Should -BeTrue
+ $newPath.FullName | Should -Exist
91
92
Remove-Item -Path $testDocumentCopy -Force
93
}
0 commit comments