Skip to content

Commit f04009d

Browse files
committed
Refine empty group test
1 parent e65d011 commit f04009d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Rules/UseCompatibleTypes.Tests.ps1

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

216216
default
217217
{
218-
$group.Name | Should -Be $null
218+
$group.Name | Should -BeNullOrEmpty
219+
$group.Count | Should -Be 0
219220
break
220221
}
221222
}

0 commit comments

Comments
 (0)