fix debug output

This commit is contained in:
OCram85 2018-03-13 14:19:05 +01:00
parent 1a6a861ad1
commit 64f1f05c76
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ Describe "Test-ModuleName" {
Context "Working with PSSnapins" {
It "Loading first PSSnaping should not throw " {
$Snap = Get-PSSnapin -Registered
$Snap
$Snap | Format-List | Out-String | Write-Verbose -Verbose
{ $loaded = Test-Module -Name $Snap.Name -Type PSSnapin } | Should -Not -Throw
Remove-PSSnapin -Name $Snap.Name
}