Move misplaced test file to tests directory (#14908)

This commit is contained in:
Mariano Alipi 2021-03-08 12:51:38 -06:00 committed by GitHub
parent 6cfdbaa6d9
commit ae5a84ea05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ namespace module {
}
It "Import a PowerShell provider with correct name" {
$result = & $pwsh -NoProfile -Command "Import-Module -Name $testModulePath; Get-Item ReproModule\SamplePrv::test.txt"
$result.PSPath | Should -BeExactly "ReproModule\SamplePrv::test.txt"
$result = & $pwsh -NoProfile -Command "Import-Module -Name $testModulePath; (Get-Item ReproModule\SamplePrv::test.txt).PSPath"
$result | Should -BeExactly "ReproModule\SamplePrv::test.txt"
}
}