Move misplaced test file to tests directory (#14908)

This commit is contained in:
Mariano Alipi
2021-03-08 23:51:38 +05:00
committed by GitHub
parent 6cfdbaa6d9
commit ae5a84ea05
@@ -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"
}
}