Skip to content

Conversation

@bmanikm
Copy link
Contributor

@bmanikm bmanikm commented Aug 8, 2017

  • This acceptance test will ensure that there are no regressions in PowerShell build w.r.t. to adding a .NET type in PowerShellGet module.

function Remove-InstalledModules
{
Get-InstalledModule -Name $ContosoServer -AllVersions -ErrorAction SilentlyContinue | Uninstall-Module -Force
Get-InstalledModule -Name $ContosoServer -AllVersions -ErrorAction SilentlyContinue | PowerShellGet\Uninstall-Module -Force

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might throw right? Do you want to ignore those errors.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should not be any errors in uninstalling the test module, otherwise other test cases will fail.

@jianyunt
Copy link
Contributor

jianyunt commented Aug 9, 2017

:shipit:

@adityapatwardhan adityapatwardhan merged commit 0bfee35 into PowerShell:master Aug 10, 2017
@bmanikm bmanikm deleted the AddPowerShellGetAcceptanceTest branch August 11, 2017 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants