From dbd2a8f1b1a674a01a08c498be3b7bf7a7940236 Mon Sep 17 00:00:00 2001 From: TingLiu6 Date: Fri, 6 May 2016 02:38:20 -0700 Subject: [PATCH] Fix the CR issue for Update-TypeData --- test/powershell/Update-TypeData.Tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/powershell/Update-TypeData.Tests.ps1 b/test/powershell/Update-TypeData.Tests.ps1 index 2dc304f388..963f23a0db 100644 --- a/test/powershell/Update-TypeData.Tests.ps1 +++ b/test/powershell/Update-TypeData.Tests.ps1 @@ -94,7 +94,7 @@ Describe "Update-TypeData basic functionality" -Tags DRT{ try { Update-TypeData -AppendPath $filelist -EA Stop - Throw "Execution OK" + Throw "We expect TypesXmlUpdateException, but it didn't throw." } catch { @@ -109,6 +109,7 @@ Describe "Update-TypeData basic functionality" -Tags DRT{ rm $filelist } } + It "Update-TypeData with Valid Dynamic Type NoteProperty with Force should work"{ try