From 1b3777475bf2ff0b66d6024ec1a1c96e7c95e1ed Mon Sep 17 00:00:00 2001 From: Kevin Marquette Date: Tue, 14 Aug 2018 14:02:08 -0700 Subject: [PATCH] require test to have call to function --- Tests/Project/Help.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/Project/Help.Tests.ps1 b/Tests/Project/Help.Tests.ps1 index 4465f53..954cf88 100644 --- a/Tests/Project/Help.Tests.ps1 +++ b/Tests/Project/Help.Tests.ps1 @@ -16,6 +16,7 @@ Describe "Public commands have comment-based or external help" -Tags 'Build' { It "Should have an Example" { $node.Examples | Should Not BeNullOrEmpty + $node.Examples | Out-String | Should -Match ($node.Name) } foreach ($parameter in $node.Parameters.Parameter)