require test to have call to function
This commit is contained in:
@@ -16,6 +16,7 @@ Describe "Public commands have comment-based or external help" -Tags 'Build' {
|
|||||||
|
|
||||||
It "Should have an Example" {
|
It "Should have an Example" {
|
||||||
$node.Examples | Should Not BeNullOrEmpty
|
$node.Examples | Should Not BeNullOrEmpty
|
||||||
|
$node.Examples | Out-String | Should -Match ($node.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($parameter in $node.Parameters.Parameter)
|
foreach ($parameter in $node.Parameters.Parameter)
|
||||||
|
|||||||
Reference in New Issue
Block a user