Skip to content

Commit e65d011

Browse files
committed
Make negative group name test more diagnostic
1 parent 808a7eb commit e65d011

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Rules/UseCompatibleCommands.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Describe 'UseCompatibleCommands' {
348348

349349
default
350350
{
351-
$group | Should -Be $null
351+
$group.Name | Should -Be $null
352352
break
353353
}
354354
}

Tests/Rules/UseCompatibleTypes.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Describe 'UseCompatibleTypes' {
215215

216216
default
217217
{
218-
$group | Should -Be $null
218+
$group.Name | Should -Be $null
219219
break
220220
}
221221
}

0 commit comments

Comments
 (0)