Skip to content

Commit 285c7ce

Browse files
committed
test(harness): wrap a mock line the line gate caught at 116 characters
1 parent 67ec859 commit 285c7ce

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎Tests/Unit/Public/Invoke-IntuneDetectionTest.Tests.ps1‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ Describe 'Invoke-IntuneDetectionTest' -Tag 'Unit', 'Public' {
3131
It 'takes script paths from the pipeline, as Get-ChildItem gives them' {
3232
Mock Invoke-IslScriptRun -ModuleName IntuneScriptLab {
3333
# The result's ScriptPath comes from the launch, which is mocked here
34-
[pscustomobject]@{ ExitCode = 0; TimedOut = $false; StdOut = 'ok'; StdErr = ''; ScriptPath = $Path }
34+
[pscustomobject]@{
35+
ExitCode = 0; TimedOut = $false; StdOut = 'ok'; StdErr = ''; ScriptPath = $Path
36+
}
3537
}
3638
$one = New-TestScript 'Pipe\Detect-One.ps1' 'exit 0'
3739
$two = New-TestScript 'Pipe\Detect-Two.ps1' 'exit 0'

0 commit comments

Comments
 (0)