We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fa6612 commit 05cf516Copy full SHA for 05cf516
Tests/Engine/GetScriptAnalyzerRule.tests.ps1
@@ -177,3 +177,11 @@ Describe "TestWildCard" {
177
$rules.Count | Should -Be 4
178
}
179
180
+
181
+Describe "TestImplementingType" {
182
+ It "retrieves rule which have an implementing type" {
183
+ $rule = Get-ScriptAnalyzerRule PSPlaceCloseBrace
184
+ $type = $rule.ImplementingType
185
+ $type.BaseType.Name | Should -Be "ConfigurableRule"
186
+ }
187
+}
0 commit comments