File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -336,17 +336,20 @@ Describe 'UseCompatibleCommands' {
336
336
{
337
337
$group.Count | Should - Be 1
338
338
$group.Group [0 ].Command | Should - BeExactly ' Get-WmiObject'
339
+ break
339
340
}
340
341
341
342
' New-SelfSignedCertificate'
342
343
{
343
344
$group.Count | Should - Be 1
344
345
$group.Group [0 ].Command | Should - BeExactly ' New-SelfSignedCertificate'
346
+ break
345
347
}
346
348
347
349
default
348
350
{
349
351
$group | Should - Be $null
352
+ break
350
353
}
351
354
}
352
355
}
Original file line number Diff line number Diff line change @@ -203,17 +203,20 @@ Describe 'UseCompatibleTypes' {
203
203
$group.Count | Should - Be 2
204
204
$group [0 ].Group.TargetPlatform.PowerShell.Version.Major | Should - Be 5
205
205
$group [1 ].Group.TargetPlatform.PowerShell.Version.Major | Should - Be 5
206
+ break
206
207
}
207
208
208
209
' Microsoft.PowerShellToStringCodeMethods'
209
210
{
210
211
$group.Count | Should - Be 1
211
212
$group [0 ].Group.TargetPlatform.PowerShell.Version.Major | Should - Be 6
213
+ break
212
214
}
213
215
214
216
default
215
217
{
216
218
$group | Should - Be $null
219
+ break
217
220
}
218
221
}
219
222
}
You can’t perform that action at this time.
0 commit comments