Move misplaced test file to tests directory (#14908)
This commit is contained in:
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"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue