Skip to content

Commit 05e3668

Browse files
committed
Fix tests for MisleadingBacktick.
1 parent db7a75f commit 05e3668

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Tests/Engine/GetScriptAnalyzerRule.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Describe "Test Name parameters" {
5656

5757
It "Get Rules with no parameters supplied" {
5858
$defaultRules = Get-ScriptAnalyzerRule
59-
$defaultRules.Count | Should be 38
59+
$defaultRules.Count | Should be 39
6060
}
6161
}
6262

Tests/Rules/MisleadingBacktick.tests.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ Describe "Avoid Misleading Backticks" {
99
It "has 5 misleading backtick violations" {
1010
$violations.Count | Should Be 5
1111
}
12-
13-
It "is " {
14-
$violations[0].Message | Should Match $writeHostMessage
15-
}
1612
}
1713

1814
Context "When there are no violations" {

0 commit comments

Comments
 (0)