From 05fc3237628c6db559f53c006aa56a3c7fc51eb5 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 26 May 2016 10:36:22 -0700 Subject: [PATCH] Fix Remove-TypeData runspace isolation Responding to PR review. --- test/powershell/Remove-TypeData.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/powershell/Remove-TypeData.Tests.ps1 b/test/powershell/Remove-TypeData.Tests.ps1 index eccf6b511..6602827aa 100644 --- a/test/powershell/Remove-TypeData.Tests.ps1 +++ b/test/powershell/Remove-TypeData.Tests.ps1 @@ -48,7 +48,7 @@ It "Remove With Pipe line Input Pass Type Shortcut String" { $null = $ps.AddScript("Update-TypeData -MemberType NoteProperty -MemberName TestNote -Value TestNote -TypeName int").Invoke() $ps.Commands.Clear() - $null = $ps.AddScript("(Get-TypeData System.Int32).TypeName").Invoke() | Should Be System.Int32 + $ps.AddScript("(Get-TypeData System.Int32).TypeName").Invoke() | Should Be System.Int32 $ps.Commands.Clear() $null = $ps.AddScript("'int' | Remove-TypeData").Invoke() $ps.HadErrors | Should be $false