Add get-runspace -name test, remove runspace.close from AfterAll, dispose alone will suffice

This commit is contained in:
James Truher
2016-09-14 13:51:10 -07:00
parent 89946ed280
commit 3dd686027c
@@ -232,6 +232,9 @@ Describe "Runspace Debugging API tests" -tag CI {
$associationId = [guid]::newguid()
$runspaceInfo = [PSStandaloneMonitorRunspaceInfo]::new($runspace)
}
AfterAll {
$runspace.Dispose()
}
It "DebuggerUtils StartMonitoringRunspace requires non-null debugger" {
try {