From 64f1f05c761b4df1f73531b85c85359401769e08 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Tue, 13 Mar 2018 14:19:05 +0100 Subject: [PATCH] fix debug output --- tests/Helper/01_Test-Module.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Helper/01_Test-Module.Tests.ps1 b/tests/Helper/01_Test-Module.Tests.ps1 index 22f9181..51b4c0e 100644 --- a/tests/Helper/01_Test-Module.Tests.ps1 +++ b/tests/Helper/01_Test-Module.Tests.ps1 @@ -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 }