-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Move misplaced test file to tests directory #14908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Importprovider is now failing... |
|
I suppose that test wasn't being run so it didn't show any errors before. The |
It's mystic how it happened :-( We should replace: 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"
}with It "Import a PowerShell provider with correct name" {
$result = & $pwsh -NoProfile -Command "Import-Module -Name $testModulePath; (Get-Item ReproModule\SamplePrv::test.txt).PSPath"
$result | Should -BeExactly "ReproModule\SamplePrv::test.txt"
} |
|
/azp run PowerShell-CI-static-analysis |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@MarianoAlipi Thanks for your contribution! |
|
Thank you everyone for your help during the whole process! :) |
|
🎉 Handy links: |
PR Summary
Fix #14832
Move file
src/System.Management.Automation/engine/Modules/ImportProvider.Tests.ps1totest/powershell/Modules/Microsoft.PowerShell.Core/ImportProvider.Tests.ps1PR Context
This pull request is a simple fix to issue #14832
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.(which runs in a different PS Host).