mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix the CR issue for Update-TypeData
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user