Skip to content

Commit 920a8ab

Browse files
committed
Only special case linux for the customized rule tests
1 parent 8977733 commit 920a8ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Engine/CustomizedRule.tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Describe "Test importing correct customized rules" {
9797
It "will show the custom rules when given a glob" {
9898
# needs fixing for Linux
9999
$expectedNumRules = 4
100-
if ($IsLinux -or $IsMacOS)
100+
if ($IsLinux)
101101
{
102102
$expectedNumRules = 3
103103
}
@@ -113,7 +113,7 @@ Describe "Test importing correct customized rules" {
113113
It "will show the custom rules when given glob with recurse switch" {
114114
# needs fixing for Linux
115115
$expectedNumRules = 5
116-
if ($IsLinux -or $IsMacOS)
116+
if ($IsLinux)
117117
{
118118
$expectedNumRules = 4
119119
}

0 commit comments

Comments
 (0)