File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -91,16 +91,6 @@ function ShouldMatchCommandOutput
9191 }
9292}
9393
94- # ##############################################################################
95- # Register the helpers as custom Pester operators (if Pester is loaded)
96- # ##############################################################################
97- if (Get-Command - Name Add-ShouldOperator - ErrorAction SilentlyContinue)
98- {
99- Add-ShouldOperator - Name ReturnZeroExitCode - InternalName ShouldReturnZeroExitCode - Test ${function: ShouldReturnZeroExitCode}
100- Add-ShouldOperator - Name MatchCommandOutput - InternalName ShouldMatchCommandOutput - Test ${function: ShouldMatchCommandOutput}
101- _LogMessage - Level ' DEBUG' - Message ' Custom Pester assertion operators registered.' - InvocationName ' ModuleInit'
102- }
103-
10494# ##############################################################################
10595# Helper – run a single Pester file (mirrors your logging / error style)
10696# ##############################################################################
You can’t perform that action at this time.
0 commit comments