mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Move misplaced test file to tests directory (#14908)
This commit is contained in:
+2
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user